diff --git a/CMakeLists.txt b/CMakeLists.txt index 42664da..dc8d2dc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,7 +68,7 @@ else() $ $ ) - target_compile_features(fmt PUBLIC cxx_std_11) + target_compile_features(fmt INTERFACE cxx_std_11) target_compile_definitions(fmt INTERFACE FMT_HEADER_ONLY) target_link_libraries(FairLogger PUBLIC fmt) endif()