From 667811c92e64771a4b30f24b73cedcbf3380db62 Mon Sep 17 00:00:00 2001 From: dehnert Date: Sun, 25 Nov 2012 13:28:35 +0100 Subject: [PATCH] Added log4cplus as a library to be linked against for the tests as well. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b4e2d3c56..a8e4743fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -163,6 +163,7 @@ endif(GTEST_INCLUDE_DIR) if (LOG4CPLUS_INCLUDE_DIR) include_directories(${LOG4CPLUS_INCLUDE_DIR}) target_link_libraries(mrmc ${LOG4CPLUS_LIBRARY}) + target_link_libraries(mrmc-tests ${LOG4CPLUS_LIBRARY}) endif(LOG4CPLUS_INCLUDE_DIR) if (THREADS_FOUND)