Forked from
cepc / CEPCSW
1008 commits behind the upstream repository.
-
lintao@ihep.ac.cn authoredd4d2ba1b
CMakeLists.txt 994 B
###############################################################################
# Package: DetDriftChamber
# Based on package: lcgeo
################################################################################
find_package(DD4hep COMPONENTS DDRec DDG4 DDParsers REQUIRED)
find_package(Geant4)
include(${Geant4_USE_FILE})
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${DD4hep_ROOT}/cmake )
include( DD4hep )
find_package(ROOT COMPONENTS MathCore GenVector Geom REQUIRED)
# install(DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/compact DESTINATION Detector/DetDriftChamber)
set(DetDriftChamber_src
src/driftchamber/DriftChamber.cpp
)
gaudi_add_module(DetDriftChamber
SOURCES ${DetDriftChamber_src}
LINK DetSegmentation
${DD4hep_COMPONENT_LIBRARIES}
# ROOT Geant4
)
set(LIBRARY_OUTPUT_PATH ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})
message(STATUS "LIBRARY_OUTPUT_PATH -> ${LIBRARY_OUTPUT_PATH}")
dd4hep_generate_rootmap(DetDriftChamber)