From 16078fc8b52dfea585d7d9537468b4172c998fd9 Mon Sep 17 00:00:00 2001 From: Michel Promonet Date: Tue, 7 May 2024 15:40:25 +0200 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 76bc9b34..e161e1ea 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -251,6 +251,9 @@ target_include_directories(${CMAKE_PROJECT_NAME} PRIVATE prometheus-cpp/core/inc # live555helper include_directories(${WEBRTCROOT}/src/third_party/boringssl/src/include) +if(CMAKE_SYSTEM_PROCESSOR MATCHES "arm64") + include_directories(${CMAKE_FIND_ROOT_PATH}/usr/include/aarch64-linux-gnu) +endif() add_subdirectory(live555helper EXCLUDE_FROM_ALL) target_link_libraries (${CMAKE_PROJECT_NAME} liblive555helper ${WEBRTCOBJS}/third_party/boringssl/${CMAKE_STATIC_LIBRARY_PREFIX}boringssl${CMAKE_STATIC_LIBRARY_SUFFIX}) add_definitions(-DHAVE_LIVE555)