diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index 02fa90a73..da00b275f 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -57,6 +57,7 @@ find_package(OpenSSL 1.0.0 REQUIRED) find_package(CURL 7.29 REQUIRED) find_package(Criterion) find_package(spdlog REQUIRED) +find_package(fmt REQUIRED) pkg_check_modules(JANSSON IMPORTED_TARGET REQUIRED jansson>=2.7) pkg_check_modules(LIBCONFIG IMPORTED_TARGET libconfig>=1.4.9) diff --git a/common/lib/CMakeLists.txt b/common/lib/CMakeLists.txt index 32988767d..5dcd6ebc8 100644 --- a/common/lib/CMakeLists.txt +++ b/common/lib/CMakeLists.txt @@ -74,6 +74,7 @@ target_link_libraries(villas-common PUBLIC ${CURL_LIBRARIES} ${CMAKE_DL_LIBS} spdlog::spdlog + fmt::fmt stdc++ )