Warning, /acts/Examples/Detectors/GeoModelDetector/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 acts_add_library(
0002 ExamplesDetectorGeoModel
0003 src/GeoModelDetector.cpp
0004 src/AlignedGeoModelDetectorElement.cpp
0005 src/GeoModelMuonMockupBuilder.cpp
0006 )
0007
0008 target_include_directories(
0009 ActsExamplesDetectorGeoModel
0010 PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
0011 )
0012
0013 target_link_libraries(
0014 ActsExamplesDetectorGeoModel
0015 PUBLIC
0016 Acts::ExamplesFramework
0017 Acts::PluginGeoModel
0018 Acts::ExamplesDetectorsCommon
0019 )
0020
0021 if(ACTS_BUILD_EXAMPLES_GEANT4)
0022 find_library(GeoModel2G4_LIBRARY GeoModel2G4 REQUIRED)
0023
0024 target_link_libraries(
0025 ActsExamplesDetectorGeoModel
0026 PUBLIC Acts::ExamplesGeant4 ${GeoModel2G4_LIBRARY}
0027 )
0028
0029 target_sources(
0030 ActsExamplesDetectorGeoModel
0031 PUBLIC
0032 src/GeoModelGeant4DetectorConstruction.cpp
0033 src/GeoModelDetectorGeant4.cpp
0034 )
0035 else()
0036 target_sources(
0037 ActsExamplesDetectorGeoModel
0038 PUBLIC src/GeoModelDetectorGeant4Stub.cpp
0039 )
0040 endif()