mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +00:00
Do not use target_include_directories which requires CMake 2.8.11
This commit is contained in:
@@ -14,6 +14,7 @@ endif()
|
|||||||
|
|
||||||
include_directories(
|
include_directories(
|
||||||
${CMAKE_SOURCE_DIR}
|
${CMAKE_SOURCE_DIR}
|
||||||
|
${CURL_INCLUDE_DIRS}
|
||||||
${EVENT2_INCLUDE_DIRS}
|
${EVENT2_INCLUDE_DIRS}
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -35,10 +36,6 @@ target_link_libraries(${TR_NAME}-daemon
|
|||||||
|
|
||||||
add_executable(${TR_NAME}-remote remote.c)
|
add_executable(${TR_NAME}-remote remote.c)
|
||||||
|
|
||||||
target_include_directories(${TR_NAME}-remote PRIVATE
|
|
||||||
${CURL_INCLUDE_DIRS}
|
|
||||||
)
|
|
||||||
|
|
||||||
target_link_libraries(${TR_NAME}-remote
|
target_link_libraries(${TR_NAME}-remote
|
||||||
${TR_NAME}
|
${TR_NAME}
|
||||||
${CURL_LIBRARIES}
|
${CURL_LIBRARIES}
|
||||||
|
|||||||
Reference in New Issue
Block a user