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)