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