Skip to content

Commit

Permalink
add sysroot for arm32
Browse files Browse the repository at this point in the history
  • Loading branch information
mpromonet committed Oct 27, 2024
1 parent dadf698 commit e7664df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ add_definitions(-DVERSION=\"${VERSION}\")
# set CMAKE_FIND_ROOT_PATH to search package in WebRTC sysroot
if(CMAKE_SYSTEM_PROCESSOR MATCHES "armv.*")
set (CMAKE_FIND_ROOT_PATH ${WEBRTCROOT}/src/build/linux/debian_bullseye_arm-sysroot)
add_compile_options(--sysroot=${CMAKE_FIND_ROOT_PATH})
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "arm64")
set (CMAKE_FIND_ROOT_PATH ${WEBRTCROOT}/src/build/linux/debian_bullseye_arm64-sysroot)
add_compile_options(--sysroot=${CMAKE_FIND_ROOT_PATH})
Expand Down

0 comments on commit e7664df

Please sign in to comment.