Set CPACK_NSIS_COMPRESSOR to two arguments instead of just "BZIP2" in the CMakeLists.txt file.

This commit is contained in:
Username404-59 2021-04-02 12:46:54 +02:00
parent 5e4fc9f4be
commit ae451d32b3
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ elseif(MINGW OR MSVC)
set(CPACK_NSIS_INSTALL_ROOT "${CMAKE_INSTALL_PREFIX}") set(CPACK_NSIS_INSTALL_ROOT "${CMAKE_INSTALL_PREFIX}")
set(CMAKE_EXE_LINKER_FLAGS "-static -static-libstdc++ ${CMAKE_EXE_LINKER_FLAGS}") set(CMAKE_EXE_LINKER_FLAGS "-static -static-libstdc++ ${CMAKE_EXE_LINKER_FLAGS}")
set(CPACK_PACKAGE_FILE_NAME "${PNAME}_wpkg") set(CPACK_PACKAGE_FILE_NAME "${PNAME}_wpkg")
set(CPACK_NSIS_COMPRESSOR BZIP2) set(CPACK_NSIS_COMPRESSOR "/SOLID bzip2")
set(CPACK_NSIS_MANIFEST_DPI_AWARE true) set(CPACK_NSIS_MANIFEST_DPI_AWARE true)
set(CPACK_NSIS_MUI_ICON "${CMAKE_CURRENT_SOURCE_DIR}/resources/${PROJECT_NAME}.ico") set(CPACK_NSIS_MUI_ICON "${CMAKE_CURRENT_SOURCE_DIR}/resources/${PROJECT_NAME}.ico")
set(CPACK_NSIS_MUI_UNIICON "${CMAKE_CURRENT_SOURCE_DIR}/resources/${PROJECT_NAME}.ico") set(CPACK_NSIS_MUI_UNIICON "${CMAKE_CURRENT_SOURCE_DIR}/resources/${PROJECT_NAME}.ico")