Package: draco / 1.4.1+dfsg-3

0002-Fix-install-location-of-draco-config.cmake.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
From: =?utf-8?q?Timo_R=C3=B6hling?= <timo@gaussglocke.de>
Date: Wed, 2 Dec 2020 14:02:48 +0100
Subject: Fix install location of draco-config.cmake

---
 cmake/draco_install.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/draco_install.cmake b/cmake/draco_install.cmake
index 5c63ecb..59c1216 100644
--- a/cmake/draco_install.cmake
+++ b/cmake/draco_install.cmake
@@ -26,7 +26,7 @@ macro(draco_setup_install_target)
                  "${draco_build}/draco-config.cmake" @ONLY NEWLINE_STYLE UNIX)
   install(
     FILES "${draco_build}/draco-config.cmake"
-    DESTINATION "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/cmake")
+    DESTINATION "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/cmake/draco")
 
   foreach(file ${draco_sources})
     if(file MATCHES "h$")