File: 0011-Fix-install-location-for-optionparser-targets.cmake.patch

package info (click to toggle)
fastdds 3.3.0%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 60,540 kB
  • sloc: cpp: 793,735; xml: 15,283; python: 5,902; sh: 219; makefile: 95; ansic: 12
file content (21 lines) | stat: -rw-r--r-- 864 bytes parent folder | download | duplicates (4)
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: Wed, 2 Mar 2022 10:35:32 +0100
Subject: Fix install location for optionparser-targets.cmake

---
 thirdparty/optionparser/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/thirdparty/optionparser/CMakeLists.txt b/thirdparty/optionparser/CMakeLists.txt
index 6615873..0f74901 100644
--- a/thirdparty/optionparser/CMakeLists.txt
+++ b/thirdparty/optionparser/CMakeLists.txt
@@ -48,7 +48,7 @@ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
 if(INSTALLER_PLATFORM)
     set(INSTALL_DESTINATION_PATH ${DATA_INSTALL_DIR}/${CMAKE_PROJECT_NAME}-${INSTALLER_PLATFORM}/cmake)
 else()
-    set(INSTALL_DESTINATION_PATH ${DATA_INSTALL_DIR}/${CMAKE_PROJECT_NAME}/cmake)
+    set(INSTALL_DESTINATION_PATH ${LIB_INSTALL_DIR}/cmake/${CMAKE_PROJECT_NAME})
 endif()
 
 # export library