Fixed the -lCheck issue

This commit is contained in:
charmlesscoin 2013-08-07 17:16:02 -04:00
parent d70b56c10b
commit e47790ce31
3 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)