Set the compressor used for NSIS packages.
This commit is contained in:
parent
c712ab6811
commit
5e4fc9f4be
|
@ -142,6 +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_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")
|
||||||
|
|
Loading…
Reference in New Issue