mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 06:21:00 +00:00
Push module check to test
This commit is contained in:
parent
d8a2698e6c
commit
d97d8cea67
@ -401,7 +401,7 @@ if (FMT_DOC)
|
|||||||
add_subdirectory(doc)
|
add_subdirectory(doc)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (FMT_TEST AND NOT FMT_MODULE)
|
if (FMT_TEST)
|
||||||
enable_testing()
|
enable_testing()
|
||||||
add_subdirectory(test)
|
add_subdirectory(test)
|
||||||
endif ()
|
endif ()
|
||||||
|
@ -55,6 +55,10 @@ function(add_fmt_test name)
|
|||||||
add_test(NAME ${name} COMMAND ${name})
|
add_test(NAME ${name} COMMAND ${name})
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
|
if (FMT_MODULE)
|
||||||
|
return ()
|
||||||
|
endif ()
|
||||||
|
|
||||||
add_fmt_test(args-test)
|
add_fmt_test(args-test)
|
||||||
add_fmt_test(assert-test)
|
add_fmt_test(assert-test)
|
||||||
add_fmt_test(chrono-test)
|
add_fmt_test(chrono-test)
|
||||||
|
Loading…
Reference in New Issue
Block a user