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()