forked from fmtlib/fmt
Fix clang build.
This commit is contained in:
@@ -13,7 +13,7 @@ project(FORMAT)
|
|||||||
include(CheckCXXCompilerFlag)
|
include(CheckCXXCompilerFlag)
|
||||||
check_cxx_compiler_flag(-std=c++11 HAVE_STD_CPP11_FLAG)
|
check_cxx_compiler_flag(-std=c++11 HAVE_STD_CPP11_FLAG)
|
||||||
if (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 ()
|
endif ()
|
||||||
|
|
||||||
add_library(format format.cc)
|
add_library(format format.cc)
|
||||||
|
Reference in New Issue
Block a user