From 68970a2f62cfd5afbaf9fc314d1a59e2ef69e797 Mon Sep 17 00:00:00 2001 From: lichenggang Date: Mon, 6 Jan 2025 15:21:06 +0800 Subject: [PATCH] chore: mips64 disable compile unit test binaries mips64 disable compile unit test binaries Log: mips64 disable compile unit test binaries --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 68201fa2..dfbebdcd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,7 +54,7 @@ add_subdirectory(xcb) if("${PROJECT_VERSION_MAJOR}" STREQUAL "5") add_subdirectory(wayland) endif() -if(BUILD_TESTING AND NOT ${CMAKE_SYSTEM_PROCESSOR} MATCHES "loongarch") +if(BUILD_TESTING AND NOT (${CMAKE_SYSTEM_PROCESSOR} MATCHES "loongarch" OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "mips64")) enable_testing() add_subdirectory(tests) endif()