Test iOS compilation

This commit is contained in:
momo5502
2025-03-19 15:52:19 +01:00
parent 4d6ac1684f
commit db0d34288d
3 changed files with 10 additions and 1 deletions

View File

@@ -24,7 +24,9 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_OSX_DEPLOYMENT_TARGET 11.0)
if(NOT CMAKE_SYSTEM_NAME STREQUAL "iOS")
set(CMAKE_OSX_DEPLOYMENT_TARGET 11.0)
endif()
# Prevent unicorn from generating universal binaries on macOS
# It doesn't support it, even if it thinks it does...