1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-keygen synced 2026-06-18 04:00:03 +02:00

CMake: move "flat install" for windows to the top of the file.

This commit is contained in:
Henrik Hautakoski 2020-02-21 09:34:23 +01:00 committed by Henrik Hautakoski
parent f907beba35
commit 6eaf32847c

View file

@ -20,6 +20,12 @@ include(GNUInstallDirs)
set( CMAKE_INSTALL_SHAREDIR ${CMAKE_INSTALL_DATADIR}/${CMAKE_PROJECT_NAME} )
if (WIN32)
# "Flat" install on windows.
set( CMAKE_INSTALL_BINDIR "." )
set( CMAKE_INSTALL_DATADIR "." )
endif (WIN32)
# --------------------------------
# Program
# --------------------------------
@ -106,10 +112,6 @@ if (WIN32)
${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}
)
# "Flat" install on windows.
set( CMAKE_INSTALL_BINDIR "." )
set( CMAKE_INSTALL_DATADIR "." )
# We also need to copy libcrypto dll during install
install(FILES ${OPENSSL_LIBCRYPTO_DLL} DESTINATION ${CMAKE_INSTALL_BINDIR})
endif (WIN32)