diff --git a/CMakeLists.txt b/CMakeLists.txt index 61f02147722086c32a0cc24d3b6492cacce68ad4..d6a86ab469386080b8612add2e2d17f1bb0e5e61 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,7 +40,7 @@ endif() ############################################## # Find system dependencies -set(FMT_VERSION 10.2.1) +set(FMT_VERSION 11.0.2) find_package(fmt ${FMT_VERSION} QUIET) diff --git a/unit_tests/CMakeLists.txt b/unit_tests/CMakeLists.txt index 2c0c746a412643c568ff07d8c50b5f5d8cbf72d5..8257a60633b5a4aef2c565a22a3606acab2803d8 100644 --- a/unit_tests/CMakeLists.txt +++ b/unit_tests/CMakeLists.txt @@ -63,6 +63,7 @@ endif() target_link_libraries(tests${module_name} PRIVATE ${module_name}) target_link_libraries(tests${module_name} PRIVATE Catch2::Catch2WithMain) +target_link_libraries(tests${module_name} PRIVATE fmt::fmt) list(APPEND CMAKE_MODULE_PATH ${catch2_SOURCE_DIR}/extras) include(CTest)