-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathHyperConfig.cmake.in
29 lines (21 loc) · 995 Bytes
/
HyperConfig.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
# =============================================================================
# The Hyper Cmake configuration file
#
# * Do not modify !!
#
# - HYPERC : the path to the hyper compiler
# - HYPER_LIBS : the list of hyper librairies
# - HYPER_LIB_DIR : the directory where lib files are
# - HYPER_LIBRARIES : the list of hyper librairies (full path)
# - HYPER_INCLUDE_DIRS : the Hyper include directories
# =============================================================================
set(HYPERC @CMAKE_INSTALL_PREFIX@/bin/hyperc)
set(HYPER_LIBS hyper_compiler;hyper_logic;hyper_model;hyper_network)
set(HYPER_LIB_DIR @CMAKE_INSTALL_PREFIX@/lib)
foreach(lib ${HYPER_LIBS})
find_library(${lib}_LIBRARY ${lib} ${HYPER_LIB_DIR})
list(APPEND HYPER_LIBRARIES ${${lib}_LIBRARY})
endforeach(lib)
set(HYPER_INCLUDE_DIRS @CMAKE_INSTALL_PREFIX@/include/hyper)
list(APPEND CMAKE_MODULE_PATH @CMAKE_INSTALL_PREFIX@/share/hyper)
include (@CMAKE_INSTALL_PREFIX@/share/hyper/HyperNode.cmake)