Configure install destinations already in BasicConfig.cmake

It might be already useful before the library config is applied.
This commit is contained in:
Martchus 2019-08-05 23:46:09 +02:00
parent de2d6f6d98
commit d168717023
1 changed files with 2 additions and 0 deletions

View File

@ -497,5 +497,7 @@ if (LIB_SUFFIX_64 AND CMAKE_SIZEOF_VOID_P MATCHES "8")
elseif (LIB_SUFFIX_32 AND CMAKE_SIZEOF_VOID_P MATCHES "4")
set(SELECTED_LIB_SUFFIX "${LIB_SUFFIX_32}")
endif ()
set(BIN_INSTALL_DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
set(LIB_INSTALL_DESTINATION "${CMAKE_INSTALL_PREFIX}/lib${SELECTED_LIB_SUFFIX}")
set(BASIC_PROJECT_CONFIG_DONE YES)