mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 21:16:56 +00:00
Fix c++0x detection
This commit is contained in:
parent
1849735f12
commit
0b508fd29d
@ -46,7 +46,7 @@ if (FMT_USE_CPP14)
|
|||||||
if (HAVE_STD_CPP11_FLAG)
|
if (HAVE_STD_CPP11_FLAG)
|
||||||
set(CPP14_FLAG -std=c++11)
|
set(CPP14_FLAG -std=c++11)
|
||||||
else ()
|
else ()
|
||||||
check_cxx_compiler_flag(-std=c++0x HAVE_STD_CPP11_FLAG)
|
check_cxx_compiler_flag(-std=c++0x HAVE_STD_CPP0X_FLAG)
|
||||||
if (HAVE_STD_CPP0X_FLAG)
|
if (HAVE_STD_CPP0X_FLAG)
|
||||||
set(CPP14_FLAG -std=c++0x)
|
set(CPP14_FLAG -std=c++0x)
|
||||||
endif ()
|
endif ()
|
||||||
|
Loading…
Reference in New Issue
Block a user