Detect C++14 compiler support

This commit is contained in:
Victor Zverovich
2017-09-28 08:57:54 -07:00
parent be5b4552d9
commit d5e918b61f
7 changed files with 36 additions and 36 deletions
+1 -1
View File
@@ -16,7 +16,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})
target_compile_options(fmt PUBLIC ${CPP14_FLAG})
if (FMT_PEDANTIC)
target_compile_options(fmt PRIVATE ${PEDANTIC_COMPILE_FLAGS})
endif ()