We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a439921 commit ef2e9edCopy full SHA for ef2e9ed
CMakeLists.txt
@@ -85,6 +85,9 @@ message(STATUS "Current git version ${CURRENT_GIT_VERSION}")
85
################################################################################
86
# Version information
87
88
+if(DEFINED VERSION AND NOT VERSION STREQUAL CMAKE_PROJECT_VERSION)
89
+ message(FATAL_ERROR "The version parameter ${VERSION} differs from the project version ${CMAKE_PROJECT_VERSION}")
90
+endif()
91
if (FDB_RELEASE_CANDIDATE)
92
set(FDB_RELEASE_CANDIDATE_VERSION 1 CACHE STRING "release candidate version")
93
set(FDB_VERSION ${PROJECT_VERSION}-rc${FDB_RELEASE_CANDIDATE_VERSION})
0 commit comments