Skip to content

Commit

Permalink
set sysroot
Browse files Browse the repository at this point in the history
  • Loading branch information
mpromonet committed May 25, 2024
1 parent 41c5a7d commit b6935fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ 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()

# alsa ?
find_package(ALSA QUIET)
Expand Down

0 comments on commit b6935fb

Please sign in to comment.