aboutsummaryrefslogtreecommitdiff
path: root/ports/cartographer/fix-cmake-location.patch
blob: b0eb12397fccd31e81f1bcc5183fc90a00ae0c7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2e3a686be..f2a0c5d8e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -300,7 +300,7 @@ foreach(HDR ${INSTALL_GENERATED_HDRS})
   )
 endforeach()
 
-set(CARTOGRAPHER_CMAKE_DIR share/cartographer/cmake)
+set(CARTOGRAPHER_CMAKE_DIR share/cartographer)
 include(CMakePackageConfigHelpers)
 configure_package_config_file(
   cartographer-config.cmake.in
@@ -311,7 +311,7 @@ configure_package_config_file(
 
 install(
   EXPORT CartographerExport
-  DESTINATION share/cartographer/cmake/
+  DESTINATION share/cartographer/
   FILE CartographerTargets.cmake
 )