From e6671719a1581e5df8b09e17d6309cc05ea11785 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 3 Sep 2019 22:58:56 +0200 Subject: [PATCH] cmake: add missing fmt include --- common/CMakeLists.txt | 1 + common/lib/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) 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++ )