Package: orocos-kdl / 1.4.0-7

0003-Don-t-install-OrocosKDLTargets.patch Patch series | download
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
33
34
35
36
From: Jochen Sprickerhof <git@jochen.sprickerhof.de>
Date: Sat, 19 May 2018 17:41:23 +0200
Subject: Don't install OrocosKDLTargets

Not needed and it exposes the soversion
---
 orocos_kdl/CMakeLists.txt     | 1 -
 orocos_kdl/KDLConfig.cmake.in | 4 ----
 2 files changed, 5 deletions(-)

diff --git a/orocos_kdl/CMakeLists.txt b/orocos_kdl/CMakeLists.txt
index c323e14..bd60fd3 100644
--- a/orocos_kdl/CMakeLists.txt
+++ b/orocos_kdl/CMakeLists.txt
@@ -112,6 +112,5 @@ CONFIGURE_FILE(KDLConfigVersion.cmake.in
 
 INSTALL(FILES ${PROJECT_BINARY_DIR}/orocos_kdl-config.cmake DESTINATION share/orocos_kdl/cmake)
 INSTALL(FILES ${PROJECT_BINARY_DIR}/orocos_kdl-config-version.cmake DESTINATION share/orocos_kdl/cmake)
-INSTALL(EXPORT OrocosKDLTargets DESTINATION share/orocos_kdl/cmake)
 
 INSTALL(FILES package.xml DESTINATION share/orocos_kdl)
diff --git a/orocos_kdl/KDLConfig.cmake.in b/orocos_kdl/KDLConfig.cmake.in
index 3c3097c..a099c19 100644
--- a/orocos_kdl/KDLConfig.cmake.in
+++ b/orocos_kdl/KDLConfig.cmake.in
@@ -7,10 +7,6 @@
 # Compute paths
 set(orocos_kdl_INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}/../../../include;@Boost_INCLUDE_DIRS@;@Eigen_INCLUDE_DIR@")
 
-if(NOT TARGET orocos-kdl)
-  include("${CMAKE_CURRENT_LIST_DIR}/OrocosKDLTargets.cmake")
-endif()
-
 set(orocos_kdl_LIBRARIES orocos-kdl)
 
 # where the .pc pkgconfig files are installed