Skip to content

Commit b8b9d33

Browse files
author
lichenggang
committed
chore: mips64 disable compile unit test binaries
mips64 disable compile unit test binaries Log: mips64 disable compile unit test binaries
1 parent 8857b64 commit b8b9d33

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ add_subdirectory(xcb)
5454
if("${PROJECT_VERSION_MAJOR}" STREQUAL "5")
5555
add_subdirectory(wayland)
5656
endif()
57-
if(BUILD_TESTING AND NOT ${CMAKE_SYSTEM_PROCESSOR} MATCHES "loongarch")
57+
if(BUILD_TESTING AND NOT (${CMAKE_SYSTEM_PROCESSOR} MATCHES "loongarch" OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "mips64"))
58+
# 执行你的测试代码
59+
endif()
60+
5861
enable_testing()
5962
add_subdirectory(tests)
6063
endif()

0 commit comments

Comments
 (0)