vcpkg/ports/colmap/fix-dependencies.patch
Laurent Rineau 470a5f6ecf
[cgal] update to 5.5.2 (#30341)
* [cgal] update to 5.5.2

* [cgal] vcpkg x-add-version --all

* fix colmap compilation

* vcpkg x-add-version --all

---------

Co-authored-by: Monica <v-liumonica@microsoft.com>
2023-04-04 11:11:44 -07:00

24 lines
584 B
Diff

--- CMakeLists.txt.orig 2023-03-12 19:26:41.000000000 +0100
+++ CMakeLists.txt 2023-03-27 11:27:43.840624719 +0200
@@ -99,14 +99,17 @@
find_package(Eigen3 REQUIRED)
-find_package(FreeImage REQUIRED)
+find_package(FreeImage CONFIG REQUIRED)
+set(FREEIMAGE_LIBRARIES freeimage::FreeImage)
find_package(FLANN REQUIRED)
find_package(LZ4 REQUIRED)
-find_package(Metis REQUIRED)
+find_package(metis CONFIG REQUIRED)
+set(METIS_LIBRARIES metis)
-find_package(Glog REQUIRED)
+find_package(glog CONFIG REQUIRED)
+set(GLOG_LIBRARIES glog::glog)
find_package(SQLite3 REQUIRED)