forked from coin-or/qpOASES
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqpOASESConfig.cmake.in
29 lines (18 loc) · 995 Bytes
/
qpOASESConfig.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
# CMake qpOASES module
#
# It defines the following variables:
# qpOASES_FOUND - TRUE
# qpOASES_INCLUDE_DIR - The qpOASES include directory
# qpOASES_LIBRARY_DIR - The qpOASES library directory
# qpOASES_LIBRARY - The qpOASES library
# qpOASES_VERSION - The qpOASES version in the form <major>.<minor>
@PACKAGE_INIT@
set(qpOASES_VERSION @PACKAGE_VERSION@)
set_and_check(qpOASES_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
set(qpOASES_INCLUDE_DIR "${qpOASES_INCLUDE_DIR}" CACHE STRING "Include path for qpOASES and its dependencies")
set_and_check(qpOASES_LIBRARY_DIR @PACKAGE_LIB_INSTALL_DIR@)
set(qpOASES_LIBRARY_DIR "${qpOASES_LIBRARY_DIR}" CACHE STRING "Library path for qpOASES and its dependencies")
find_library(qpOASES_LIBRARY NAMES qpOASES
PATHS ${qpOASES_LIBRARY_DIR} NO_DEFAULT_PATH)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(qpOASES DEFAULT_MSG qpOASES_INCLUDE_DIR qpOASES_LIBRARY_DIR qpOASES_LIBRARY qpOASES_VERSION)