mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-10 05:10:05 +00:00
Test compilation without -std=c++11.
This commit is contained in:
parent
e44a2be8b9
commit
83e1658109
@ -45,7 +45,8 @@ endif ()
|
||||
if (HAVE_STD_CPP11_FLAG)
|
||||
set_target_properties(format PROPERTIES COMPILE_FLAGS ${CPP11_FLAG})
|
||||
# Test compilation with default flags.
|
||||
add_library(testformat format.cc)
|
||||
file(GLOB src RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} test/*.cc test/*.h)
|
||||
add_library(testformat format.cc ${src})
|
||||
endif ()
|
||||
|
||||
add_subdirectory(doc)
|
||||
|
Loading…
Reference in New Issue
Block a user