mirror of
https://github.com/UltraCoderRU/libwebrtc.git
synced 2026-01-28 11:15:13 +00:00
CMake: Use 7Z package generator under Windows, fixes #11
This commit is contained in:
parent
461570efab
commit
b8796b9359
1 changed files with 4 additions and 4 deletions
|
|
@ -9,11 +9,11 @@ set(CPACK_PACKAGE_VERSION_PATCH "${LIBWEBRTC_PATCH_VERSION}")
|
|||
set(CPACK_INSTALL_CMAKE_PROJECTS
|
||||
"${CPACK_INSTALL_CMAKE_PROJECTS};${CMAKE_BINARY_DIR}/libwebrtc;libwebrtc;ALL;/")
|
||||
|
||||
if (WIN)
|
||||
set(CPACK_GENERATOR "ZIP")
|
||||
else (WIN)
|
||||
if (WIN32)
|
||||
set(CPACK_GENERATOR "7Z")
|
||||
else (WIN32)
|
||||
set(CPACK_GENERATOR "TGZ")
|
||||
endif (WIN)
|
||||
endif (WIN32)
|
||||
|
||||
if (CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||
set(LIBWEBRTC_PLATFORM "linux")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue