2021-01-28 10:18:22 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2022-03-19 05:46:26 +08:00
|
|
|
index 4759a94..3d25164 100644
|
2021-01-28 10:18:22 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2022-03-19 05:46:26 +08:00
|
|
|
@@ -98,9 +98,11 @@ find_package(Boost REQUIRED COMPONENTS
|
2021-01-28 10:18:22 +08:00
|
|
|
|
|
|
|
find_package(Eigen3 REQUIRED)
|
|
|
|
|
|
|
|
-find_package(FreeImage REQUIRED)
|
|
|
|
+find_package(freeimage CONFIG REQUIRED)
|
|
|
|
+set(FREEIMAGE_LIBRARIES freeimage::FreeImage)
|
|
|
|
|
2022-03-19 05:46:26 +08:00
|
|
|
-find_package(Metis REQUIRED)
|
|
|
|
+find_package(metis CONFIG REQUIRED)
|
|
|
|
+set(METIS_LIBRARIES metis)
|
|
|
|
|
2021-01-28 10:18:22 +08:00
|
|
|
find_package(Glog REQUIRED)
|
|
|
|
|