mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 15:20:26 +08:00
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)
|
||
|
|