From ae451d32b331bd33c2c1592b3f141fbf0a8941bc Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Fri, 2 Apr 2021 12:46:54 +0200 Subject: [PATCH] Set CPACK_NSIS_COMPRESSOR to two arguments instead of just "BZIP2" in the CMakeLists.txt file. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index da45e98..fd77dd5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -142,7 +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_COMPRESSOR "/SOLID 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")