Don't check for C++11 features if C++11 support is disabled

This commit is contained in:
vitaut
2016-03-18 08:10:06 -07:00
parent c052cf11b9
commit 63d7f3d116
3 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
# C++11 feature support detection
if (NOT FMT_USE_CPP11)
return()
endif ()
include(CheckCXXCompilerFlag)
if (FMT_USE_CPP11)