Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
dglazier authored Dec 4, 2020
1 parent 3fcc8be commit 3230e1c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ list(APPEND CMAKE_PREFIX_PATH $ENV{ROOTSYS}) ############USEROOTSYS

find_package(ROOT REQUIRED COMPONENTS Proof) ###########USEROOTSYS

#give clas12root include dir
set(CLAS12ROOT_DIR $ENV{CLAS12ROOT}/Clas12Root)
include_directories(${CLAS12ROOT_DIR})

#---Define useful ROOT functions and macros (e.g. ROOT_GENERATE_DICTIONARY)
include(${ROOT_USE_FILE}) ##########USEROOTSYS
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ROOT_CXX_FLAGS}")

#give clas12root include dir
set(CLAS12ROOT_DIR $ENV{CLAS12ROOT}/Clas12Root)
include_directories(${CLAS12ROOT_DIR})

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/core)
add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR}/core)

Expand Down

0 comments on commit 3230e1c

Please sign in to comment.