From ecfa96bf38021602f8655ae5c4bb018889e9e2aa Mon Sep 17 00:00:00 2001 From: Mike Gelfand Date: Tue, 2 Dec 2014 20:42:33 +0000 Subject: [PATCH] Do not use target_include_directories which requires CMake 2.8.11 --- daemon/CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/daemon/CMakeLists.txt b/daemon/CMakeLists.txt index bce61b6ca..3ce7f0238 100644 --- a/daemon/CMakeLists.txt +++ b/daemon/CMakeLists.txt @@ -14,6 +14,7 @@ endif() include_directories( ${CMAKE_SOURCE_DIR} + ${CURL_INCLUDE_DIRS} ${EVENT2_INCLUDE_DIRS} ) @@ -35,10 +36,6 @@ target_link_libraries(${TR_NAME}-daemon add_executable(${TR_NAME}-remote remote.c) -target_include_directories(${TR_NAME}-remote PRIVATE - ${CURL_INCLUDE_DIRS} -) - target_link_libraries(${TR_NAME}-remote ${TR_NAME} ${CURL_LIBRARIES}