File: 0005-Fix-basedir-location-for-dynamic_reconfigure-macros.patch

package info (click to toggle)
ros-dynamic-reconfigure 1.7.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 552 kB
  • sloc: python: 1,753; cpp: 661; xml: 35; ansic: 18; makefile: 11; sh: 2
file content (21 lines) | stat: -rw-r--r-- 834 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
Date: Mon, 20 Sep 2021 01:54:19 +0200
Subject: Fix basedir location for dynamic_reconfigure macros

---
 cmake/dynamic_reconfigure-extras.cmake.em | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/dynamic_reconfigure-extras.cmake.em b/cmake/dynamic_reconfigure-extras.cmake.em
index 9b56bfb..9e70a47 100644
--- a/cmake/dynamic_reconfigure-extras.cmake.em
+++ b/cmake/dynamic_reconfigure-extras.cmake.em
@@ -3,7 +3,7 @@
 set(dynamic_reconfigure_BASE_DIR "@(CMAKE_CURRENT_SOURCE_DIR)")
 @[else]@
 # base dir in installspace
-set(dynamic_reconfigure_BASE_DIR "${dynamic_reconfigure_DIR}/..")
+set(dynamic_reconfigure_BASE_DIR "/usr/share/dynamic_reconfigure")
 @[end if]@
 
 include(${dynamic_reconfigure_BASE_DIR}/cmake/dynamic_reconfigure-macros.cmake)