Add iOS support

This commit is contained in:
Saikari
2025-12-16 14:48:20 +03:00
parent 852bf5c56f
commit 735a565446
3 changed files with 75 additions and 3 deletions

View File

@@ -24,6 +24,6 @@ else() # GTest is being linked as vcpkg package
endif()
# Skip test discovery for Android builds - binaries cannot run on host
if (NOT CMAKE_SYSTEM_NAME STREQUAL "Android")
if (NOT (CMAKE_SYSTEM_NAME STREQUAL "Android" OR CMAKE_SYSTEM_NAME STREQUAL "iOS"))
gtest_discover_tests(${PROJECT_NAME})
endif()
endif()