From c08d5b1676f208c04e910d3c5b175e6c621fec9c Mon Sep 17 00:00:00 2001 From: KimLS Date: Sun, 11 Sep 2016 18:59:14 -0700 Subject: [PATCH] Hopefully can actually be run by base cmake now --- libs/format/fmt/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/format/fmt/CMakeLists.txt b/libs/format/fmt/CMakeLists.txt index c0ef02e5b..909cf1112 100644 --- a/libs/format/fmt/CMakeLists.txt +++ b/libs/format/fmt/CMakeLists.txt @@ -15,7 +15,7 @@ if (FMT_CPPFORMAT) endif () # Starting with cmake 3.1 the CXX_STANDARD property can be used instead. -target_compile_options(fmt PUBLIC ${CPP11_FLAG}) +add_compile_options(${CPP11_FLAG}) if (FMT_PEDANTIC) target_compile_options(fmt PRIVATE ${PEDANTIC_COMPILE_FLAGS}) endif ()