-
Notifications
You must be signed in to change notification settings - Fork 17
/
LibQPEPConfig.cmake.in
32 lines (27 loc) · 1.36 KB
/
LibQPEPConfig.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
# - Config file for the LibQPEP package
# It defines the following variables
# LibQPEP_INCLUDE_DIRS - include directories for qpep
# LibQPEP_LIBRARIES - libraries to link against
include(CMakeFindDependencyMacro)
include(${CMAKE_CURRENT_LIST_DIR}/LibQPEP-config.cmake)
# Compute paths
get_filename_component(QPEP_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
message("LibQPEP Found in: ${QPEP_CMAKE_DIR}")
set(LibQPEP_INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}/../../../include")
set(qpep_INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}/../../../include")
set(QPEP_INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}/../../../include")
set(LibQPEP_INCLUDE_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../include")
if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
set(SUFFIX "so")
elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
set(SUFFIX "dylib")
endif()
set(LibQPEP_LIBRARIES "${CMAKE_CURRENT_LIST_DIR}/../../../lib/lib@QPEP_LIB@.${SUFFIX}")
set(LibQPEP_LIBRARIES "${CMAKE_CURRENT_LIST_DIR}/../../../lib/lib@QPEP_LIB@.${SUFFIX}")
set(qpep_LIBRARIES "${CMAKE_CURRENT_LIST_DIR}/../../../lib/lib@QPEP_LIB@.${SUFFIX}")
set(QPEP_LIBRARIES "${CMAKE_CURRENT_LIST_DIR}/../../../lib/lib@QPEP_LIB@.${SUFFIX}")
# This causes catkin simple to link against these libraries
set(LibQPEP_FOUND_CATKIN_PROJECT true)
set(LibQPEP_FOUND_CATKIN_PROJECT true)
set(qpep_FOUND_CATKIN_PROJECT true)
set(QPEP_FOUND_CATKIN_PROJECT true)