diff --git a/autotests/CMakeLists.txt b/autotests/CMakeLists.txt index 3466f3e1e7..6e9d33e9cb 100644 --- a/autotests/CMakeLists.txt +++ b/autotests/CMakeLists.txt @@ -3,7 +3,11 @@ remove_definitions(-DQT_USE_QSTRINGBUILDER) add_subdirectory(libkwineffects) add_subdirectory(integration) add_subdirectory(libinput) -add_subdirectory(drm) +# drm autotests are broken on FreeBSD for yet unknown reasons +# As the test isn't doing anything platform specific, only run it on Linux +if(CMAKE_SYSTEM_NAME MATCHES "Linux") + add_subdirectory(drm) +endif() ######################################################## # Test WindowPaintData