Correctly support non-portable case
This commit is contained in:
@@ -371,7 +371,7 @@ endif()
|
||||
|
||||
# By default we want to install to the directory we are compiling our executables
|
||||
# unless specified otherwise, which we currently do not allow
|
||||
IF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
||||
IF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT AND WITH_INSTALL_PORTABLE)
|
||||
if(MSVC)
|
||||
set(CMAKE_INSTALL_PREFIX ${EXECUTABLE_OUTPUT_PATH}/\${BUILD_TYPE} CACHE PATH "default install path" FORCE )
|
||||
elseif(APPLE)
|
||||
|
Reference in New Issue
Block a user