File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -62,9 +62,14 @@ endif(NOT MCStepLogger_BUILD_TESTS)
6262# Find ROOT and get useful functions from ROOT_USE_FILE,
6363# e.g. ROOT_GENERATE_DICTIONARY
6464list (APPEND CMAKE_PREFIX_PATH $ENV{ROOTSYS} )
65- find_package (ROOT REQUIRED COMPONENTS Core Hist Graf Gpad Tree VMC RIO Geom EG)
65+ find_package (ROOT REQUIRED COMPONENTS Core Hist Graf Gpad Tree RIO Geom EG)
6666include (${ROOT_USE_FILE} )
6767
68+ #######
69+ # VMC #
70+ #######
71+ find_package (VMC CONFIG REQUIRED)
72+
6873#########
6974# Boost #
7075#########
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ set(EXECUTABLE_SRCS
5050mcsl_add_library(
5151 TARGETNAME Core
5252 BASENAME ${MODULE_NAME}
53- DEPENDENCIES ROOT::Core ROOT::Hist ROOT::Graf ROOT::Gpad ROOT::Tree ROOT::VMC ROOT:: RIO ROOT::Geom ROOT::EG MCStepLoggerCore
53+ DEPENDENCIES ROOT::Core ROOT::Hist ROOT::Graf ROOT::Gpad ROOT::Tree ROOT::RIO ROOT::Geom ROOT::EG MCStepLoggerCore
5454 SOURCES ${SRCS}
5555 INCLUDE_DIRECTORIES ${CMAKE_CURRENT_LIST_DIR} /include ${Boost_INCLUDE_DIR}
5656 LINKDEFDIR ${CMAKE_CURRENT_LIST_DIR} /src
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ set(MACROS
7474mcsl_add_library(
7575 TARGETNAME Core
7676 BASENAME ${MODULE_NAME}
77- DEPENDENCIES ROOT::Core ROOT::Hist ROOT::Graf ROOT::Gpad ROOT::Tree ROOT::VMC ROOT:: RIO ROOT::Geom ROOT::EG
77+ DEPENDENCIES ROOT::Core ROOT::Hist ROOT::Graf ROOT::Gpad ROOT::Tree ROOT::RIO ROOT::Geom ROOT::EG VMCLibrary
7878 SOURCES ${SRCS_CORE}
7979 INCLUDE_DIRECTORIES ${CMAKE_CURRENT_LIST_DIR} /include
8080 LINKDEFDIR ${CMAKE_CURRENT_LIST_DIR} /src
You can’t perform that action at this time.
0 commit comments