diff options
Diffstat (limited to 'Utilities/Release/upload_release.cmake')
-rw-r--r-- | Utilities/Release/upload_release.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Utilities/Release/upload_release.cmake b/Utilities/Release/upload_release.cmake index 3613ae7..d78e68a 100644 --- a/Utilities/Release/upload_release.cmake +++ b/Utilities/Release/upload_release.cmake @@ -1,6 +1,7 @@ set(CTEST_RUN_CURRENT_SCRIPT 0) if(NOT VERSION) - set(VERSION 3.14) + include(${CMAKE_CURRENT_LIST_DIR}/../../Source/CMakeVersion.cmake) + set(VERSION ${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}) endif() if(NOT DEFINED PROJECT_PREFIX) set(PROJECT_PREFIX cmake-${VERSION}) |