mirror of https://github.com/microsoft/vcpkg.git
fix CMake files. (#14306)
This commit is contained in:
parent
c39b1ae3d2
commit
e9ff3cd5a0
|
|
@ -1,5 +1,5 @@
|
|||
Source: cartographer
|
||||
Version: 1.0.0-2
|
||||
Version: 1.0.0-3
|
||||
Build-Depends: ceres[suitesparse], gflags, glog, lua, cairo, boost-iostreams, gtest, protobuf
|
||||
Homepage: https://github.com/googlecartographer/cartographer
|
||||
Description: Google 2D & 3D SLAM package
|
||||
|
|
|
|||
|
|
@ -0,0 +1,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
|
||||
)
|
||||
|
||||
|
|
@ -9,6 +9,7 @@ vcpkg_from_github(
|
|||
PATCHES
|
||||
fix-find-packages.patch
|
||||
fix-build-error.patch
|
||||
fix-cmake-location.patch
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
|
|
|
|||
Loading…
Reference in New Issue