mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed the -lCheck issue
This commit is contained in:
parent
d70b56c10b
commit
e47790ce31
|
@ -1,8 +1,8 @@
|
||||||
cmake_minimum_required(VERSION 2.6.0)
|
cmake_minimum_required(VERSION 2.6.0)
|
||||||
cmake_policy(SET CMP0011 NEW)
|
cmake_policy(SET CMP0011 NEW)
|
||||||
|
|
||||||
find_package(Check REQUIRED)
|
|
||||||
include_directories(${CHECK_INCLUDE_DIRS})
|
include_directories(${CHECK_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
find_package(Check REQUIRED)
|
||||||
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/messenger_test.cmake)
|
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/messenger_test.cmake)
|
||||||
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/friends_test.cmake)
|
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/friends_test.cmake)
|
||||||
|
|
|
@ -7,4 +7,4 @@ add_executable(${exe_name}
|
||||||
|
|
||||||
linkCoreLibraries(${exe_name})
|
linkCoreLibraries(${exe_name})
|
||||||
add_dependencies(${exe_name} Check)
|
add_dependencies(${exe_name} Check)
|
||||||
target_link_libraries(${exe_name} Check)
|
target_link_libraries(${exe_name} check)
|
||||||
|
|
|
@ -7,4 +7,4 @@ add_executable(${exe_name}
|
||||||
|
|
||||||
linkCoreLibraries(${exe_name})
|
linkCoreLibraries(${exe_name})
|
||||||
add_dependencies(${exe_name} Check)
|
add_dependencies(${exe_name} Check)
|
||||||
target_link_libraries(${exe_name} Check)
|
target_link_libraries(${exe_name} check)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user