mirror of
https://github.com/azahar-emu/azahar.git
synced 2026-06-05 18:23:39 -04:00
tests: Don't run catch_discover_tests when cross-compiling to a different OS
This commit is contained in:
parent
f902010f04
commit
ca99574700
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ if (ENABLE_LIBRETRO)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_test(NAME tests COMMAND tests)
|
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)
|
catch_discover_tests(tests)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue