mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-13 09:36:32 +00:00
Fix tests
This commit is contained in:
parent
07754c047c
commit
da6ac7fb26
@ -11,7 +11,7 @@ function(add_fmt_test name)
|
|||||||
if (NOT add_fmt_test_CUSTOM_LINK)
|
if (NOT add_fmt_test_CUSTOM_LINK)
|
||||||
target_link_libraries(${name} format)
|
target_link_libraries(${name} format)
|
||||||
endif ()
|
endif ()
|
||||||
add_test(${name} ${name})
|
add_test(NAME ${name} COMMAND ${name})
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
add_fmt_test(gtest-extra-test)
|
add_fmt_test(gtest-extra-test)
|
||||||
@ -55,7 +55,7 @@ if (HAVE_OPEN)
|
|||||||
set_target_properties(posix-test
|
set_target_properties(posix-test
|
||||||
PROPERTIES COMPILE_DEFINITIONS "FMT_INCLUDE_POSIX_TEST=1")
|
PROPERTIES COMPILE_DEFINITIONS "FMT_INCLUDE_POSIX_TEST=1")
|
||||||
target_link_libraries(posix-test gmock)
|
target_link_libraries(posix-test gmock)
|
||||||
add_test(posix-test posix-test)
|
add_test(NAME posix-test COMMAND posix-test)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
add_executable(header-only-test
|
add_executable(header-only-test
|
||||||
|
Loading…
Reference in New Issue
Block a user