We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc51a8e commit d3e71b6Copy full SHA for d3e71b6
cmake/XRay.Packaging.cmake
@@ -11,7 +11,10 @@ set(CPACK_SOURCE_IGNORE_FILES "/.gitattributes")
11
set(CPACK_RESOURCE_FILE_README ${PROJECT_SOURCE_DIR}/README.md)
12
set(CPACK_RESOURCE_FILE_LICENSE ${PROJECT_SOURCE_DIR}/License.txt)
13
14
-if (UNIX)
+if (WIN32)
15
+ set(CPACK_GENERATOR 7Z)
16
+ include(CPack)
17
+elseif (UNIX)
18
# Try to find specific OS files to determine type of linux distribution
19
find_file(FEDORA_FOUND fedora-release PATHS /etc)
20
find_file(REDHAT_FOUND redhat-release inittab.RH PATHS /etc)
0 commit comments