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")