forked from tudat-team/tudat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tudat-config.cmake.in
52 lines (40 loc) · 1.72 KB
/
tudat-config.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
# defined since 2.8.3
if (CMAKE_VERSION VERSION_LESS 2.8.3)
get_filename_component (CMAKE_CURRENT_LIST_DIR ${CMAKE_CURRENT_LIST_FILE} PATH)
endif ()
# Temporarily modify CMAKE_MODULE_PATH for cmake files in current dir.
set(_TUDAT_CONFIG_OLD_MODULE_PATH "${CMAKE_MODULE_PATH}")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")
# Find dependencies.
include(CMakeFindDependencyMacro)
#find_dependency(CSpice)
#find_dependency(Sofa)
#find_dependency(Eigen3)
#efind_dependency(Boost)
#set(_TUDAT_FIND_BOOST_UNIT_TEST_FRAMEWORK ON)
#include(TudatFindBoost)
@PACKAGE_INIT@
# Tell the user project where to find our headers and libraries
set (Tudat_VERSION "@Tudat_VERSION@")
set (Tudat_INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}/@RELATIVE_INSTALL_INCLUDE_DIR@")
set (Tudat_LIBRARY_DIRS "${CMAKE_CURRENT_LIST_DIR}/@RELATIVE_INSTALL_LIB_DIR@")
set (Tudat_DATA_DIRS "${CMAKE_CURRENT_LIST_DIR}/@RELATIVE_INSTALL_DATA_DIR@")
# Configure file path for tudat data loading.
##configure_file(
## "${CMAKE_CURRENT_LIST_DIR}/paths.hpp.in"
## "${Tudat_INCLUDE_DIRS}/tudat/paths.hpp" @ONLY
##)
# List of compilation flags -DTOTO to export
set (Tudat_DEFINITIONS "@Tudat_DEFINITIONS@")
# Optional dependencies.
@_TUDAT_CONFIG_OPTIONAL_DEPS@
# Allows loading CSpice settings from another project
set (Tudat_CONFIG_FILE "${CMAKE_CURRENT_LIST_FILE}")
# Our library dependencies (contains definitions for IMPORTED targets)
include ("${CMAKE_CURRENT_LIST_DIR}/tudat_export.cmake")
# These are IMPORTED targets created by tudat_targets.cmake
set (Tudat_PROPAGATION_LIBRARIES "@Tudat_PROPAGATION_LIBRARIES@")
set (Tudat_ESTIMATION_LIBRARIES "@Tudat_ESTIMATION_LIBRARIES@")
if (CMAKE_VERSION VERSION_LESS 2.8.3)
set (CMAKE_CURRENT_LIST_DIR)
endif ()