summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2021-03-07 22:08:09 +0000
committerMarge Bot <eric+marge@anholt.net>2021-03-12 09:04:17 +0000
commit1246e482f49814041dda8d148320351bc4551f05 (patch)
tree84b0c59e8d87c1f4388200e9e984a7a03fec0050
parentda55221468817b6245a5395b3904b652980d04d4 (diff)
cmake: Use 7-Zip packaging and strip debugging symbols.
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/488>
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5c593d2bb..a7afffba8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -598,7 +598,8 @@ endif ()
# See http://www.vtk.org/Wiki/CMake:CPackPackageGenerators
if (WIN32)
- set (CPACK_GENERATOR "ZIP")
+ set (CPACK_GENERATOR "7Z")
+ set (CPACK_STRIP_FILES ON)
else ()
set (CPACK_GENERATOR "TBZ2")
endif ()