diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 48de7ba..cb50b9d 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -76,6 +76,8 @@ ADD_LIBRARY_TEST(testinverselosalgorithms) ADD_LIBRARY_TEST(testinverseviewshed) ADD_LIBRARY_TEST(testviewshedtiming) -ADD_GUI_TEST(testviewshedcalculator) -ADD_GUI_TEST(testpointwidget) -ADD_GUI_TEST(testfileselectorwidget) \ No newline at end of file +if(HAS_QT) + ADD_GUI_TEST(testviewshedcalculator) + ADD_GUI_TEST(testpointwidget) + ADD_GUI_TEST(testfileselectorwidget) +endif() \ No newline at end of file