mirror of
https://github.com/fmtlib/fmt.git
synced 2025-08-01 03:34:45 +02:00
Don't check for C++11 features if C++11 support is disabled
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
# C++11 feature support detection
|
||||
|
||||
if (NOT FMT_USE_CPP11)
|
||||
return()
|
||||
endif ()
|
||||
|
||||
include(CheckCXXCompilerFlag)
|
||||
|
||||
if (FMT_USE_CPP11)
|
Reference in New Issue
Block a user