diff --git a/CMakeLists.txt b/CMakeLists.txt index 68201fa..c1ec8d7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,7 +54,10 @@ 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")) + # 执行你的测试代码 +endif() + enable_testing() add_subdirectory(tests) endif()