Skip to content

Commit

Permalink
only run gui tests if has Qt
Browse files Browse the repository at this point in the history
  • Loading branch information
JanCaha committed Dec 5, 2023
1 parent 3bb0469 commit 744cff0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
if(HAS_QT)
ADD_GUI_TEST(testviewshedcalculator)
ADD_GUI_TEST(testpointwidget)
ADD_GUI_TEST(testfileselectorwidget)
endif()

0 comments on commit 744cff0

Please sign in to comment.