forked from sintefmath/equelle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEquelleConfig.cmake.in
23 lines (20 loc) · 960 Bytes
/
EquelleConfig.cmake.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# - Config file for the Equelle package
# It defines the following variables
# EQUELLE_INCLUDE_DIRS - include directories for Equelle
# EQUELLE_LIBRARIES - libraries to link against
# EQUELLE_LIB_DIRS - libraries directories
# EQUELLE_EXECUTABLE - the equelle compiler executables
# EQUELLE_COMPILER - The equelle compiler
# Compute paths
get_filename_component(EQUELLE_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
set(EQUELLE_INCLUDE_DIRS "@CONF_INCLUDE_DIRS@" "@EQUELLE_INCLUDE_DIRS_FOR_CONFIG@")
# Our library dependencies (contains definitions for IMPORTED targets)
if(NOT TARGET foo AND NOT Equelle_BINARY_DIR)
include("${EQUELLE_CMAKE_DIR}/EquelleTargets.cmake")
endif()
# These are IMPORTED targets created by EquelleTargets.cmake
set(EQUELLE_LIBRARIES @EQUELLE_LIBS_FOR_CONFIG@)
set(EQUELLE_LIB_DIRS @EQUELLE_LIB_DIRS_FOR_CONFIG@)
set(EQUELLE_APPS_DIR @CONF_APPS_DIR@)
set(EQUELLE_EXECUTABLE el ec)
set(EQUELLE_COMPILER ec)