From fb5023de62964f907035126ce0293befbcf2b341 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Wed, 17 Jan 2024 13:19:21 +0000 Subject: [PATCH] fixup! cmake: Add cross-compiling support --- CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9ce1ff726876f..2ba48df5f04ef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -183,9 +183,6 @@ if(CMAKE_CROSSCOMPILING) target_compile_definitions(core_interface INTERFACE ${DEPENDS_COMPILE_DEFINITIONS}) target_compile_options(core_interface INTERFACE "$<$:${DEPENDS_C_COMPILER_FLAGS}>") target_compile_options(core_interface INTERFACE "$<$:${DEPENDS_CXX_COMPILER_FLAGS}>") - if(DEPENDS_ALLOW_HOST_PACKAGES) - list(APPEND CMAKE_FIND_ROOT_PATH "${CMAKE_SYSTEM_PREFIX_PATH}") - endif() endif() include(AddThreadsIfNeeded)