From 47aef0b88f51b1e19b7fe840508ea5e3a35a2adf Mon Sep 17 00:00:00 2001
From: QuentinArguillere <quentin.arguillere@belledone-communications.com>
Date: Tue, 18 Feb 2025 17:10:52 +0100
Subject: [PATCH] Load mswebrtc when build is IOS

---
 CMakeLists.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a253bdb4df..f8767521ce 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -127,6 +127,9 @@ if(ANDROID_BUNDLED)
 	find_package(MsAndroidCamera2)
 	find_package(MsWebRtc)
 endif()
+if (IOS)
+	find_package(MsWebRtc)
+endif()
 if(MsAaudio_FOUND)
 	set(HAVE_STATIC_MSAAUDIO 1)
 endif()
-- 
GitLab