From a8818148e2653e2aa5826c89650569168d245e49 Mon Sep 17 00:00:00 2001 From: bkuhls Date: Sun, 6 Feb 2022 08:17:03 +0100 Subject: [PATCH] fix cross build (#2576) 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' --- libtransmission/CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libtransmission/CMakeLists.txt b/libtransmission/CMakeLists.txt index 6d1fab895..a3d00cd29 100644 --- a/libtransmission/CMakeLists.txt +++ b/libtransmission/CMakeLists.txt @@ -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}