mirror of
https://github.com/azahar-emu/azahar.git
synced 2026-07-11 01:34:03 +02:00
tests: Don't run catch_discover_tests when cross-compiling to a different OS
This commit is contained in:
@@ -36,7 +36,7 @@ if (ENABLE_LIBRETRO)
|
||||
endif()
|
||||
|
||||
add_test(NAME tests COMMAND tests)
|
||||
if(NOT ANDROID)
|
||||
if(NOT ANDROID AND (CMAKE_SYSTEM_NAME STREQUAL CMAKE_HOST_SYSTEM_NAME))
|
||||
catch_discover_tests(tests)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user