From 8b93d4bdbb9eac77d6ab1677744cef7131eb758e Mon Sep 17 00:00:00 2001 From: Michal Gallus Date: Sun, 13 Oct 2019 22:59:57 +0200 Subject: [PATCH] CMake: Add compile features for spdlog target --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 12320fbf..56bce9ac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,6 +98,7 @@ endif() add_library(spdlog::spdlog ALIAS spdlog) +target_compile_features(spdlog PUBLIC cxx_std_11) target_compile_definitions(spdlog PUBLIC SPDLOG_COMPILED_LIB) target_include_directories(spdlog PUBLIC "$"