Add format linking to tests

This commit is contained in:
Mikolaj Paraniak 2015-01-06 16:57:07 +01:00
parent cd828a8691
commit 7f706171a9

View File

@ -1,6 +1,6 @@
set(TEST_MAIN_SRC test-main.cc gtest-extra.cc gtest-extra.h util.cc)
add_library(test-main STATIC ${TEST_MAIN_SRC})
target_link_libraries(test-main gmock)
target_link_libraries(test-main format gmock)
# Adds a test.
# Usage: add_fmt_test(name [CUSTOM_LINK] srcs...)