diff --git a/CMakeLists.txt b/CMakeLists.txt index 6f6cf7c..9a5d47d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -131,6 +131,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()