diff --git a/scripts/cmake/utilities.cmake b/scripts/cmake/utilities.cmake index a18c36573fe..99ada2fd65d 100644 --- a/scripts/cmake/utilities.cmake +++ b/scripts/cmake/utilities.cmake @@ -229,6 +229,10 @@ function(mz_add_library) endfunction() function(mz_add_test_target) + if(CMAKE_CROSSCOMPILING) + # We're currently not supporting that. + return() + endif() cmake_parse_arguments( MZ_ADD_TEST # prefix "" # options