perform the slower tests only in PEDANTIC mode
This commit is contained in:
parent
ded46cc1b6
commit
03b9485cb3
@ -116,7 +116,6 @@ if (FMT_PEDANTIC)
|
||||
if (HAVE_STD_CPP98_FLAG)
|
||||
target_compile_options(testformat PRIVATE -std=c++98)
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
# Test that the library compiles without windows.h.
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||
@ -151,3 +150,4 @@ add_test(add_subdirectory-test ${CMAKE_CTEST_COMMAND}
|
||||
--build-generator ${CMAKE_GENERATOR}
|
||||
--build-makeprogram ${CMAKE_MAKE_PROGRAM}
|
||||
--build-options "-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}")
|
||||
endif ()
|
||||
|
Loading…
Reference in New Issue
Block a user