obs-studio/cmake/common/cpackconfig_common.cmake
PatTheMav e2e3c9e102 cmake: Fix CMake policy scopes and add include guards
Include guards ensure that bootstrap includes happen only once for the
entire project. Moving all policy changes into an included file without
its own policy scope ensures that the policy is applied to the project.
2023-06-17 12:23:33 -04:00

12 lines
391 B
CMake

# OBS CMake common CPack module
include_guard(GLOBAL)
# Set default global CPack variables
set(CPACK_PACKAGE_NAME obs-studio)
set(CPACK_PACKAGE_VENDOR "${OBS_WEBSITE}")
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "${OBS_COMMENTS}")
set(CPACK_PACKAGE_VERSION_MAJOR ${OBS_VERSION_MAJOR})
set(CPACK_PACKAGE_VERSION_MINOR ${OBS_VERSION_MINOR})
set(CPACK_PACKAGE_VERSION_PATCH ${OBS_VERSION_PATCH})