Skip to content

Commit

Permalink
sync: from linuxdeepin/qt5platform-plugins
Browse files Browse the repository at this point in the history
Synchronize source files from linuxdeepin/qt5platform-plugins.

Source-pull-request: linuxdeepin/qt5platform-plugins#267
  • Loading branch information
deepin-ci-robot committed Jan 6, 2025
1 parent 765b502 commit c43c1d0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ add_subdirectory(xcb)
if("${PROJECT_VERSION_MAJOR}" STREQUAL "5")
add_subdirectory(wayland)
endif()
if(BUILD_TESTING AND NOT ${CMAKE_SYSTEM_PROCESSOR} MATCHES "loongarch")
if(BUILD_TESTING AND NOT (${CMAKE_SYSTEM_PROCESSOR} MATCHES "loongarch" OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "mips64"))
# 执行你的测试代码
endif()

enable_testing()
add_subdirectory(tests)
endif()
Expand Down

0 comments on commit c43c1d0

Please sign in to comment.