From d0c9bca3fb105e735a9f40bd52bf5b803d54be9e Mon Sep 17 00:00:00 2001 From: Michel Promonet Date: Sat, 25 May 2024 17:11:45 +0200 Subject: [PATCH] add sysroot only for arm64 --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9bbb429a..d6940a10 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,11 +37,9 @@ if(CMAKE_SYSTEM_PROCESSOR MATCHES "armv.*") set (CMAKE_FIND_ROOT_PATH ${WEBRTCROOT}/src/build/linux/debian_bullseye_arm-sysroot) elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "arm64") set (CMAKE_FIND_ROOT_PATH ${WEBRTCROOT}/src/build/linux/debian_bullseye_arm64-sysroot) -endif() -MESSAGE("CMAKE_FIND_ROOT_PATH = ${CMAKE_FIND_ROOT_PATH}") -if (DEFINED CMAKE_FIND_ROOT_PATH) add_compile_options(--sysroot=${CMAKE_FIND_ROOT_PATH}) endif() +MESSAGE("CMAKE_FIND_ROOT_PATH = ${CMAKE_FIND_ROOT_PATH}") # alsa ? find_package(ALSA QUIET)