mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 16:39:25 +08:00
44070ccd78
* Update COLMAP version to 3.8 * date * version * patch * f * format * f * c * c * f * d * d * d * f * revert patch formating * update version * n * n * f * f * f --------- Co-authored-by: Jonliu1993 <13720414433@163.com>
22 lines
523 B
Diff
22 lines
523 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 2a9724e..95d4d7e 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -99,12 +99,14 @@ find_package(Boost REQUIRED COMPONENTS
|
|
|
|
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)
|
|
|