blob: 29b591e34127fa7dda750b6f0c32caedc533914a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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)
|