diff options
author | lazydodo <github@lazydodo.com> | 2016-09-06 16:21:23 +0300 |
---|---|---|
committer | lazydodo <github@lazydodo.com> | 2016-09-06 16:22:04 +0300 |
commit | abd54f1ed2a5706a394e31ef00f89dee19d55e87 (patch) | |
tree | f72995b80af80191aa18f872654afd92390c0ce3 /CMakeLists.txt | |
parent | b40d1c1903207f1c5ba1b7cb3050b4a836c2171d (diff) |
[cmake/cpack] allow override of package name
Cpack generates a standard filename with git information in it, which might not always be wanted for release builds, this patch adds an option to override that default filename.
Reviewers: sergey, juicyfruit
Reviewed By: juicyfruit
Differential Revision: https://developer.blender.org/D2199
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 709f8245e23..5f7d59a28cf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -220,6 +220,8 @@ if(${CMAKE_VERSION} VERSION_LESS 2.8.8) endif() set(BUILDINFO_OVERRIDE_DATE "" CACHE STRING "Use instead of the current date for reproducable builds (empty string disables this option)") set(BUILDINFO_OVERRIDE_TIME "" CACHE STRING "Use instead of the current time for reproducable builds (empty string disables this option)") +set(PACKAGENAME_OVERRIDE "" CACHE STRING "Use instead of the standard packagename (empty string disables this option)") +mark_as_advanced(PACKAGENAME_OVERRIDE) mark_as_advanced(BUILDINFO_OVERRIDE_DATE) mark_as_advanced(BUILDINFO_OVERRIDE_TIME) |