Skip to content
Snippets Groups Projects
Commit cd6bc534 authored by Christoph Hasse's avatar Christoph Hasse :cartwheel_tone1:
Browse files

Merge branch 'cmake-fix' into 'master'

Minor CMake fixes

See merge request !3250
parents e3d8878c f62d34d2
No related branches found
No related tags found
1 merge request!3250Minor CMake fixes
Pipeline #3015093 passed
......@@ -28,6 +28,7 @@ gaudi_add_library(TrackEvent
Gaudi::GaudiKernel
GSL::gsl
LHCb::EventBase
LHCb::FTDAQLib
LHCb::LHCbKernel
LHCb::LHCbMathLib
Rangev3::rangev3
......
......@@ -265,6 +265,10 @@ macro(lhcb_finalize_configuration)
gaudi_install(CMAKE lhcbproject.yml)
endif()
# Set the version of the project as a cache variable to be seen by other
# projects in the same super-project.
set(${PROJECT_NAME}_VERSION "${PROJECT_VERSION}" CACHE STRING "Version of ${PROJECT_NAME}" FORCE)
if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR AND GAUDI_LEGACY_CMAKE_SUPPORT)
find_file(legacy_cmake_config_support NAMES LegacyGaudiCMakeSupport.cmake)
if(legacy_cmake_config_support)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment