mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 21:13:04 +02:00
16 lines
489 B
CMake
16 lines
489 B
CMake
# OBS CMake Windows CPack configuration module
|
|
|
|
include_guard(GLOBAL)
|
|
|
|
include(cpackconfig_common)
|
|
|
|
# Add GPLv2 license file to CPack
|
|
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/UI/data/license/gplv2.txt")
|
|
set(CPACK_PACKAGE_VERSION "${OBS_VERSION_CANONICAL}")
|
|
set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-windows-${CMAKE_GENERATOR_PLATFORM}")
|
|
set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY FALSE)
|
|
set(CPACK_GENERATOR ZIP)
|
|
set(CPACK_THREADS 0)
|
|
|
|
include(CPack)
|