From 1f3c8829bcfb0e9a973cc1632978be53bfe222f0 Mon Sep 17 00:00:00 2001 From: zhangkun Date: Mon, 24 Jun 2024 15:31:28 +0800 Subject: [PATCH] fix: loongarch64 disable compile unit test binaries loongarch64 dont compile unit-test Log: loongarch64 disable compile unit test binaries --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()