mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Introduce and export hotfix version component
The cmake variable PROJECT_VERSION_HOTFIX contains the hotfix version component. 0 means no hotfix, 1 means the first hotfix, 2 the second, and so on.
This commit is contained in:
committed by
Dennis Klein
parent
94297f9833
commit
cf9a2944c2
@@ -180,6 +180,12 @@ macro(set_fairmq_defaults)
|
||||
# Rationale in https://github.com/ninja-build/ninja/issues/814
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fdiagnostics-color=always")
|
||||
endif()
|
||||
|
||||
if(NOT PROJECT_VERSION_TWEAK)
|
||||
set(PROJECT_VERSION_HOTFIX 0)
|
||||
else()
|
||||
set(PROJECT_VERSION_HOTFIX ${PROJECT_VERSION_TWEAK})
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
function(join VALUES GLUE OUTPUT)
|
||||
|
Reference in New Issue
Block a user