Skip to content

Commit 32d4c6c

Browse files
committed
CMake: build .zip packages on Windows by default
1 parent d63a1e1 commit 32d4c6c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ build_script:
88
- cmd: cmake -S . -B build -T v100
99
- cmake --build build --config Release -j --target package
1010
artifacts:
11-
- path: 'build/*.7z'
11+
- path: 'build/*.zip'
1212
deploy:
1313
provider: GitHub
1414
auth_token:

LSLCMake.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ macro(LSLGenerateCPackConfig)
337337
set(LSL_OS "OSX${lslplatform}")
338338
endif(DEFINED ENV{OSXVER})
339339
elseif(WIN32)
340-
set(CPACK_GENERATOR "7Z") # you can create NSIS packages by calling 'cpack -G NSIS'
340+
set(CPACK_GENERATOR ZIP) # you can create NSIS packages by calling 'cpack -G NSIS'
341341
set(CPACK_NSIS_MODIFY_PATH ON)
342342
set(CPACK_WIX_CMAKE_PACKAGE_REGISTRY ON)
343343
set(CPACK_WIX_UPGRADE_GUID "ee28a351-3b27-4c2b-8b48-259c87d1b1b4")

0 commit comments

Comments
 (0)