forked from Tudat/cspice
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcspice-config.cmake.in
30 lines (20 loc) · 1 KB
/
cspice-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
# 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 ()
# Tell the user project where to find our headers and libraries
set (CSpice_VERSION "@CSpice_VERSION@")
set (CSpice_INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}/@RELATIVE_INSTALL_INCLUDE_DIR@")
set (CSpice_LIBRARY_DIRS "${CMAKE_CURRENT_LIST_DIR}/@RELATIVE_INSTALL_LIB_DIR@")
set (CSpice_DATA_DIRS "${CMAKE_CURRENT_LIST_DIR}/@RELATIVE_INSTALL_DATA_DIR@")
# Allows loading CSpice settings from another project
set (CSpice_CONFIG_FILE "${CMAKE_CURRENT_LIST_FILE}")
# List of compilation flags -DTOTO to export
set (CSpice_DEFINITIONS "@CSpice_DEFINITIONS@")
# Our library dependencies (contains definitions for IMPORTED targets)
include ("${CMAKE_CURRENT_LIST_DIR}/cspice_export.cmake")
# These are IMPORTED targets created by NLOPTLibraryDepends.cmake
set (CSpice_LIBRARIES "@CSpice_LIBRARIES@")
if (CMAKE_VERSION VERSION_LESS 2.8.3)
set (CMAKE_CURRENT_LIST_DIR)
endif ()