mirror of
https://github.com/fmtlib/fmt.git
synced 2024-09-03 05:29:16 +00:00
Fix clang build.
This commit is contained in:
parent
9d97bb7cd0
commit
cd882b547e
@ -13,7 +13,7 @@ project(FORMAT)
|
||||
include(CheckCXXCompilerFlag)
|
||||
check_cxx_compiler_flag(-std=c++11 HAVE_STD_CPP11_FLAG)
|
||||
if (HAVE_STD_CPP11_FLAG)
|
||||
add_definitions(-std=c++11)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
||||
endif ()
|
||||
|
||||
add_library(format format.cc)
|
||||
|
Loading…
Reference in New Issue
Block a user