-
Notifications
You must be signed in to change notification settings - Fork 5
/
FARGPARSEConfig.cmake.in
34 lines (27 loc) · 1.03 KB
/
FARGPARSEConfig.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
# Package configuration file
@PACKAGE_INIT@
include(CMakeFindDependencyMacro)
# Enables the use of the build directory directly, without having to
# specify the paths for the external packages as well
if (EXISTS "@CMAKE_BINARY_DIR@/extern/gFTL")
list(APPEND CMAKE_PREFIX_PATH "@CMAKE_BINARY_DIR@/extern/gFTL")
elseif (EXISTS "@GFTL_ROOT@")
set(GFTL_ROOT "@GFTL_ROOT@")
elseif (EXISTS "@GFTL_DIR@")
set(GFTL_ROOT "@GFTL_DIR@")
elseif (EXISTS "@GFTL_TOP_DIR@")
set(GFTL_ROOT "@GFTL_TOP_DIR@")
endif()
find_dependency(GFTL)
if (EXISTS "@CMAKE_BINARY_DIR@/extern/gFTL-shared")
list(APPEND CMAKE_PREFIX_PATH "@CMAKE_BINARY_DIR@/extern/gFTL-shared")
elseif (EXISTS "@GFTL_SHARED_ROOT@")
set(GFTL_SHARED_ROOT "@GFTL_SHARED_ROOT@")
elseif (EXISTS "@GFTL_SHARED_DIR@")
set(GFTL_SHARED_ROOT "@GFTL_SHARED_DIR@")
elseif (EXISTS "@GFTL_SHARED_TOP_DIR@")
set(GFTL_SHARED_ROOT "@GFTL_SHARED_TOP_DIR@")
endif()
find_dependency(GFTL_SHARED)
set(FARGPARSE_TOP_DIR "@FARGPARSE_TOP_DIR@")
include ("${CMAKE_CURRENT_LIST_DIR}/FARGPARSETargets.cmake")