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:
parent
f907beba35
commit
6eaf32847c
1 changed files with 6 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue