Newer
Older
#==========================================================================
#--------------------------------------------------------------------------
# Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
# All rights reserved.
#
# For the licensing terms see $DD4hepINSTALL/LICENSE.
# For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
#
#==========================================================================
# cd examples ;
# mkdir build ; cd build
# cmake ..
#
# F.Gaede, DESY, 2013
#
# M.Frank, CERN, 2015: Adapt to new cmake scripts
#==========================================================================
option(CMAKE_MACOSX_RPATH "Build with rpath on macos" ON)
include ( ${DD4hep_DIR}/cmake/DD4hep.cmake )
include ( ${DD4hep_DIR}/cmake/DD4hepBuild.cmake )
#
find_package ( ROOT REQUIRED COMPONENTS Geom GenVector )
include(${ROOT_USE_FILE})
#
dd4hep_package ( dd4hepExample MAJOR 0 MINOR 15 PATCH 0
USES [ROOT REQUIRED COMPONENTS Geom GenVector]
dd4hep_enable_tests (AlignDet
CLICSiD
ClientTests
Persistency