mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 05:19:06 +08:00
09fbac7283
* [colmap] Fix find dependency freeimage * update version record
15 lines
364 B
Diff
15 lines
364 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index b05097c..cdd8ca4 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -96,7 +96,8 @@ 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(Glog REQUIRED)
|
|
|