From 8a2982be9673fb79cd683f59d4161daddec48e27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sun, 3 Sep 2023 14:40:11 +0200 Subject: [PATCH] Buildfix attempt --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d6033eada..692989c998 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -272,6 +272,10 @@ if(MACOSX AND NOT IOS) endif() endif() +if(IOS) + add_definitions(-DHAVE_SYSCTLBYNAME) +endif() + include(FindThreads) if(APPLE)