-
Notifications
You must be signed in to change notification settings - Fork 0
/
PackageConfig.cmake.in
51 lines (45 loc) · 1.66 KB
/
PackageConfig.cmake.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
##########################
# A template for a <package>Config.cmake that can be found by using
# the find_package macro. This should be modified to import all of
# the dependencies required by the local package. The template is
# fairly generic, except for the "find_package" related code between
# the beginning and ending boiler plate.
#
# This expect that any targets that are being exported will be
# installed using a command like
#
# install(TARGETS myTarget
# EXPORT <project>Targets
# etc)
#
# Note that the <project> is set in the project(<name> <version>) macro
# that should be at the start of your top level CMakeLists.txt
##########################
############# BOILER PLATE
# Include the cmake boiler plate. The next line should not be touched
@PACKAGE_INIT@
############# END BOILER PLATE
##########################
# Add any specific packages that the current package depends on. This is
# where the find_package commands needed to make the current package
# compile should be listed.
##########################
# CubeRecon requires ROOT
find_package(ROOT REQUIRED
COMPONENTS Geom Physics Matrix MathCore Tree RIO)
if(ROOT_FOUND)
include(${ROOT_USE_FILE})
endif(ROOT_FOUND)
# CubeRecon needs the edep-sim I/O package.
find_package(EDepSim)
if(EDepSim_FOUND)
include(${EDepSim_USE_FILE})
endif(EDepSim_FOUND)
#########################
# Leave the next couple of lines alone since it will automatically customize
# for your package.
#########################
############# BOILER PLATE
include("@CMAKE_INSTALL_PREFIX@/lib/cmake/@PROJECT_NAME@/@[email protected]")
check_required_components("@PROJECT_NAME@")
############# END BOILER PLATE