From 5e4fc9f4be613f3a82ec7f15933db5a8ff4af5d0 Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Thu, 1 Apr 2021 21:45:19 +0200 Subject: [PATCH] Set the compressor used for NSIS packages. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7abd113..da45e98 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -142,6 +142,7 @@ elseif(MINGW OR MSVC) 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") + set(CPACK_NSIS_COMPRESSOR BZIP2) set(CPACK_NSIS_MANIFEST_DPI_AWARE true) 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")