From e47790ce31facfa3b7a50482913e7ad10a046094 Mon Sep 17 00:00:00 2001 From: charmlesscoin Date: Wed, 7 Aug 2013 17:16:02 -0400 Subject: [PATCH] Fixed the -lCheck issue --- auto_tests/CMakeLists.txt | 2 +- auto_tests/cmake/friends_test.cmake | 2 +- auto_tests/cmake/messenger_test.cmake | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/auto_tests/CMakeLists.txt b/auto_tests/CMakeLists.txt index cb79d9e3..237dae1b 100644 --- a/auto_tests/CMakeLists.txt +++ b/auto_tests/CMakeLists.txt @@ -1,8 +1,8 @@ cmake_minimum_required(VERSION 2.6.0) cmake_policy(SET CMP0011 NEW) -find_package(Check REQUIRED) include_directories(${CHECK_INCLUDE_DIRS}) +find_package(Check REQUIRED) include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/messenger_test.cmake) include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/friends_test.cmake) diff --git a/auto_tests/cmake/friends_test.cmake b/auto_tests/cmake/friends_test.cmake index 0dcbb7ee..5c2d0fc6 100644 --- a/auto_tests/cmake/friends_test.cmake +++ b/auto_tests/cmake/friends_test.cmake @@ -7,4 +7,4 @@ add_executable(${exe_name} linkCoreLibraries(${exe_name}) add_dependencies(${exe_name} Check) -target_link_libraries(${exe_name} Check) +target_link_libraries(${exe_name} check) diff --git a/auto_tests/cmake/messenger_test.cmake b/auto_tests/cmake/messenger_test.cmake index 1ce96d9e..084586bb 100644 --- a/auto_tests/cmake/messenger_test.cmake +++ b/auto_tests/cmake/messenger_test.cmake @@ -7,4 +7,4 @@ add_executable(${exe_name} linkCoreLibraries(${exe_name}) add_dependencies(${exe_name} Check) -target_link_libraries(${exe_name} Check) +target_link_libraries(${exe_name} check)