From 0020638878eefc3e92aeccc1773c6f4eb4cb5fba Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Tue, 10 Oct 2023 13:18:18 +0200 Subject: [PATCH] define DARWIN for iOS --- cmake/re-config.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/re-config.cmake b/cmake/re-config.cmake index 7a5983b14..34ebe80a5 100644 --- a/cmake/re-config.cmake +++ b/cmake/re-config.cmake @@ -173,6 +173,8 @@ endif() if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") list(APPEND RE_DEFINITIONS DARWIN) include_directories(/opt/local/include) +elseif(${CMAKE_SYSTEM_NAME} MATCHES "iOS") + list(APPEND RE_DEFINITIONS DARWIN) elseif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") list(APPEND RE_DEFINITIONS FREEBSD) elseif(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")