From 7f706171a96bfa2b3ad9baae1be95c3700c29b1c Mon Sep 17 00:00:00 2001 From: Mikolaj Paraniak Date: Tue, 6 Jan 2015 16:57:07 +0100 Subject: [PATCH] Add format linking to tests --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index e45eabb8..7be4c78b 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -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...)