Import Geant4 10.0.0 source tree
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
|
||||
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
|
||||
|
||||
find_package(Geant4)
|
||||
include(${Geant4_USE_FILE})
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
find_package(MPI QUIET)
|
||||
if(MPI_CXX_FOUND)
|
||||
add_subdirectory(MPI)
|
||||
@@ -9,3 +14,10 @@ else()
|
||||
message(STATUS "G4 Examples: MPI not installed --> MPI examples disabled")
|
||||
endif()
|
||||
|
||||
find_package(TBB QUIET)
|
||||
if(TBB_FOUND)
|
||||
add_subdirectory(TBB)
|
||||
else()
|
||||
message(STATUS "G4 Examples: TBB not installed --> TBB example disabled")
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user