We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83403ae commit ee28848Copy full SHA for ee28848
CMakeLists.txt
@@ -23,8 +23,6 @@ endif ()
23
include(GNUInstallDirs)
24
include(CMakePackageConfigHelpers)
25
26
-option(BUILD_TESTING "Build tests" ON)
27
-
28
if("${PROJECT_VERSION_MAJOR}" STREQUAL "5")
29
set(QT_VERSION_MAJOR "5")
30
elseif("${PROJECT_VERSION_MAJOR}" STREQUAL "6")
@@ -54,7 +52,7 @@ add_subdirectory(xcb)
54
52
55
53
add_subdirectory(wayland)
56
endif()
57
-if(BUILD_TESTING AND NOT (${CMAKE_SYSTEM_PROCESSOR} MATCHES "loongarch" OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "mips64"))
+if(BUILD_TESTING)
58
enable_testing()
59
add_subdirectory(tests)
60
0 commit comments