From 898a8e768d24dc86d7047b2309615bfa23ba77ce Mon Sep 17 00:00:00 2001
From: deepin-ci-robot <packages@deepin.org>
Date: Mon, 24 Jun 2024 07:45:08 +0000
Subject: [PATCH] sync: from linuxdeepin/qt5integration

Synchronize source files from linuxdeepin/qt5integration.

Source-pull-request: https://github.com/linuxdeepin/qt5integration/pull/226
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6e62a97..566b807 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()