Skip to content

Commit

Permalink
Add version information to CMakeLists
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Oct 8, 2024
1 parent e075940 commit f97f1ad
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.15)

project(k4FWCore)

set(${PROJECT_NAME}_VERSION_MAJOR 1)
set(${PROJECT_NAME}_VERSION_MINOR 1)
set(${PROJECT_NAME}_VERSION_PATCH 0)

set( ${PROJECT_NAME}_VERSION "${${PROJECT_NAME}_VERSION_MAJOR}.${${PROJECT_NAME}_VERSION_MINOR}.${${PROJECT_NAME}_VERSION_PATCH}" )

find_package(ROOT COMPONENTS RIO Tree REQUIRED)
find_package(Gaudi REQUIRED)
find_package(podio 0.16.3 QUIET) # this will not find 1.0 and newer
Expand Down

0 comments on commit f97f1ad

Please sign in to comment.