mirror of
https://github.com/transmission/transmission
synced 2024-12-23 08:13:27 +00:00
Do not use target_include_directories which requires CMake 2.8.11
This commit is contained in:
parent
b4a662ba37
commit
ecfa96bf38
1 changed files with 1 additions and 4 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue