Skip to content

Commit ee28848

Browse files
deepin-ci-robot18202781743
authored andcommitted
sync: from linuxdeepin/qt5platform-plugins
Synchronize source files from linuxdeepin/qt5platform-plugins. Source-pull-request: linuxdeepin/qt5platform-plugins#274
1 parent 83403ae commit ee28848

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: CMakeLists.txt

+1-3
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ endif ()
2323
include(GNUInstallDirs)
2424
include(CMakePackageConfigHelpers)
2525

26-
option(BUILD_TESTING "Build tests" ON)
27-
2826
if("${PROJECT_VERSION_MAJOR}" STREQUAL "5")
2927
set(QT_VERSION_MAJOR "5")
3028
elseif("${PROJECT_VERSION_MAJOR}" STREQUAL "6")
@@ -54,7 +52,7 @@ add_subdirectory(xcb)
5452
if("${PROJECT_VERSION_MAJOR}" STREQUAL "5")
5553
add_subdirectory(wayland)
5654
endif()
57-
if(BUILD_TESTING AND NOT (${CMAKE_SYSTEM_PROCESSOR} MATCHES "loongarch" OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "mips64"))
55+
if(BUILD_TESTING)
5856
enable_testing()
5957
add_subdirectory(tests)
6058
endif()

0 commit comments

Comments
 (0)