Skip to content

Commit

Permalink
fix cross build (#2576)
Browse files Browse the repository at this point in the history
Remove redundant include, ${UTP_INCLUDE_DIRS} is included already to fix
cross build error with buildroot:

x86_64-linux-g++: ERROR: unsafe header/library path used in cross-compilation: '-isystem' '/libutp'
  • Loading branch information
bkuhls committed Feb 6, 2022
1 parent 56dab2b commit a881814
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions libtransmission/CMakeLists.txt
Expand Up @@ -268,10 +268,6 @@ if(ICONV_FOUND)
include_directories(SYSTEM ${ICONV_INCLUDE_DIRS})
endif()

if(ENABLE_UTP)
include_directories(SYSTEM ${TP_TOP}/libutp)
endif()

add_library(${TR_NAME} STATIC
${${PROJECT_NAME}_SOURCES}
${${PROJECT_NAME}_PUBLIC_HEADERS}
Expand Down

0 comments on commit a881814

Please sign in to comment.