Detect C++14 compiler support
This commit is contained in:
+1
-1
@@ -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 ()
|
||||
|
||||
Reference in New Issue
Block a user