Commit 83e16581 authored by Victor Zverovich's avatar Victor Zverovich

Test compilation without -std=c++11.

parent e44a2be8
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment