6 |
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR} ${CMAKE_MODULE_PATH}) |
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR} ${CMAKE_MODULE_PATH}) |
7 |
find_package(ROOT REQUIRED) |
find_package(ROOT REQUIRED) |
8 |
include_directories(${ROOT_INCLUDE_DIR}) |
include_directories(${ROOT_INCLUDE_DIR}) |
9 |
|
|
10 |
# GEANT4 |
# GEANT4 |
11 |
find_package(Geant4 REQUIRED) |
find_package(Geant4 REQUIRED) |
12 |
include(${Geant4_USE_FILE}) |
include(${Geant4_USE_FILE}) |
134 |
DarthVader |
DarthVader |
135 |
gfortran |
gfortran |
136 |
) |
) |
137 |
|
|
138 |
|
###### Install rules |
139 |
|
install(TARGETS PamVMC.exe DESTINATION bin) |
140 |
|
install(TARGETS PamVMC_fc PamG4RunConfiguration DESTINATION lib) |