diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e62a973..566b807d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -121,6 +121,6 @@ add_subdirectory(styleplugins) if(CMAKE_BUILD_TYPE_LOWER STREQUAL debug) add_subdirectory(styles) endif() -if(BUILD_TESTS) +if(BUILD_TESTS AND NOT ${CMAKE_SYSTEM_PROCESSOR} MATCHES "loongarch") add_subdirectory(tests) endif()