diff options
author | Daniel Schürmann <daschuer@mixxx.org> | 2021-05-17 01:01:30 +0200 |
---|---|---|
committer | Daniel Schürmann <daschuer@mixxx.org> | 2021-05-17 01:01:30 +0200 |
commit | 6dc47939ba99c2868b4de91b7baf00bc10f5ffe2 (patch) | |
tree | acf7baae02c3c9b541a3a3d212c1bafc87890afc /packaging | |
parent | fc3406e169ea9769a763fd37bb38a79d5bbbb550 (diff) |
Save manual git values for cpack
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/CPackConfig.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/CPackConfig.cmake b/packaging/CPackConfig.cmake index e3993e23b8..2bfcb7a088 100644 --- a/packaging/CPackConfig.cmake +++ b/packaging/CPackConfig.cmake @@ -1,5 +1,7 @@ # unlike CMakeLists.txt this file is include at cpack time, once per generator after CPack has set CPACK_GENERATOR # to the actual generator being used. It allows per-generator setting of CPACK_* variables at cpack time. +set(GIT_DESCRIBE "${CPACK_GIT_DESCRIBE}") +set(GIT_COMMIT_DATE ${CPACK_GIT_COMMIT_DATE}) set(CMAKE_CURRENT_SOURCE_DIR "${CPACK_SOURCE_DIR}") list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules") include(GitInfo) |