summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/fmt/fmt-no-export-cpp11flag_3.0.0.patch
blob: 6b5ea4d86740f8c2801640af022fa1e2d9138075 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/fmt/CMakeLists.txt b/fmt/CMakeLists.txt
index c0ef02e..1634924 100644
--- a/fmt/CMakeLists.txt
+++ b/fmt/CMakeLists.txt
@@ -14,8 +14,6 @@ if (FMT_CPPFORMAT)
   add_library(cppformat ${FMT_SOURCES} ${FMT_HEADERS})
 endif ()
 
-# Starting with cmake 3.1 the CXX_STANDARD property can be used instead.
-target_compile_options(fmt PUBLIC ${CPP11_FLAG})
 if (FMT_PEDANTIC)
   target_compile_options(fmt PRIVATE ${PEDANTIC_COMPILE_FLAGS})
 endif ()