Skip to content

Commit 088e485

Browse files
committed
add conf files
1 parent a271b4d commit 088e485

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

conf/BTppConfig.cmake.in

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
get_filename_component(BTpp_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
2+
set(BTpp_INCLUDE_DIRS "@CONF_INCLUDE_DIRS@")
3+
4+
# Our library dependencies (contains definitions for IMPORTED targets)
5+
if(NOT TARGET BTpp AND NOT BTpp_BINARY_DIR)
6+
include("${BTpp_CMAKE_DIR}/BTppTargets.cmake")
7+
endif()
8+
9+
# These are IMPORTED targets created by YARPBTCoreargets.cmake
10+
set(BTpp_LIBRARIES BTppLib)

conf/BTppConfigVersion.cmake.in

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
set(PACKAGE_VERSION "@BTpp_VERSION@")
2+
3+
# Check whether the requested PACKAGE_FIND_VERSION is compatible
4+
if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}")
5+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
6+
else()
7+
set(PACKAGE_VERSION_COMPATIBLE TRUE)
8+
if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}")
9+
set(PACKAGE_VERSION_EXACT TRUE)
10+
endif()
11+
endif()

0 commit comments

Comments
 (0)