2020-09-28 08:59:45 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2023-04-04 00:53:46 +08:00
|
|
|
index 7bbf8d6..617ac93 100644
|
2020-09-28 08:59:45 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2023-06-01 03:27:10 +08:00
|
|
|
@@ -247,13 +247,10 @@ list(REMOVE_ITEM APP_SOURCES
|
2023-03-21 02:33:03 +08:00
|
|
|
list(REMOVE_ITEM APP_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/src/CoolPropLib.cpp")
|
2020-09-28 08:59:45 +08:00
|
|
|
|
2023-03-21 02:33:03 +08:00
|
|
|
set(APP_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}")
|
|
|
|
-list(APPEND APP_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/externals/Eigen")
|
|
|
|
-list(APPEND APP_INCLUDE_DIRS
|
|
|
|
- "${CMAKE_CURRENT_SOURCE_DIR}/externals/msgpack-c/include")
|
|
|
|
-list(APPEND APP_INCLUDE_DIRS
|
|
|
|
- "${CMAKE_CURRENT_SOURCE_DIR}/externals/fmtlib/include")
|
|
|
|
-list(APPEND APP_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/externals/fmtlib"
|
|
|
|
-)# should be deprecated
|
2020-09-28 08:59:45 +08:00
|
|
|
+find_package(Eigen3 CONFIG REQUIRED)
|
2023-04-04 00:53:46 +08:00
|
|
|
+find_package(msgpack-cxx CONFIG REQUIRED)
|
2020-09-28 08:59:45 +08:00
|
|
|
+find_package(fmt CONFIG REQUIRED)
|
2023-06-01 03:27:10 +08:00
|
|
|
+link_libraries(Eigen3::Eigen msgpack-cxx fmt::fmt)
|
2023-03-21 02:33:03 +08:00
|
|
|
list(APPEND APP_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
|
|
|
list(APPEND APP_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/src")
|
2020-09-28 08:59:45 +08:00
|
|
|
|