Change the install directory for Win32 packages in the CMakeLists.txt file.
This commit is contained in:
parent
682068ad3a
commit
abe3a7b418
|
@ -139,6 +139,7 @@ if (UNIX AND NOT MINGW)
|
|||
endif()
|
||||
elseif(MINGW OR MSVC)
|
||||
set(CMAKE_INSTALL_PREFIX "C:\\progs\\${PROJECT_NAME}")
|
||||
set(CPACK_PACKAGE_INSTALL_DIRECTORY ${CODENAME})
|
||||
set(CPACK_NSIS_INSTALL_ROOT "${CMAKE_INSTALL_PREFIX}")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "-static -static-libstdc++ ${CMAKE_EXE_LINKER_FLAGS}")
|
||||
set(CPACK_PACKAGE_FILE_NAME "${PNAME}_wpkg")
|
||||
|
|
Loading…
Reference in New Issue