mirror of
https://github.com/fmtlib/fmt.git
synced 2025-08-01 03:34:45 +02:00
perform the slower tests only in PEDANTIC mode
This commit is contained in:
@@ -116,7 +116,6 @@ if (FMT_PEDANTIC)
|
|||||||
if (HAVE_STD_CPP98_FLAG)
|
if (HAVE_STD_CPP98_FLAG)
|
||||||
target_compile_options(testformat PRIVATE -std=c++98)
|
target_compile_options(testformat PRIVATE -std=c++98)
|
||||||
endif ()
|
endif ()
|
||||||
endif ()
|
|
||||||
|
|
||||||
# Test that the library compiles without windows.h.
|
# Test that the library compiles without windows.h.
|
||||||
if (CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
if (CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||||
@@ -151,3 +150,4 @@ add_test(add_subdirectory-test ${CMAKE_CTEST_COMMAND}
|
|||||||
--build-generator ${CMAKE_GENERATOR}
|
--build-generator ${CMAKE_GENERATOR}
|
||||||
--build-makeprogram ${CMAKE_MAKE_PROGRAM}
|
--build-makeprogram ${CMAKE_MAKE_PROGRAM}
|
||||||
--build-options "-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}")
|
--build-options "-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}")
|
||||||
|
endif ()
|
||||||
|
Reference in New Issue
Block a user