Skip to content

Commit

Permalink
Merge pull request #1923 from ghutchis/only-build-qt5-tests
Browse files Browse the repository at this point in the history
Since Qt tests are currently Qt5-only don't build them for Qt6
  • Loading branch information
ghutchis authored Jan 7, 2025
2 parents 6b8911a + 1a2f86d commit aabfaa8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ mark_as_advanced(AVOGADRO_DATA_ROOT)
# Add the tests for each module.
add_subdirectory(core)
add_subdirectory(io)
if(USE_QT)
if(USE_QT AND QT_VERSION EQUAL 5)
add_subdirectory(qtgui)
endif()
if(USE_OPENGL)
add_subdirectory(rendering)
if(USE_QT AND USE_VTK AND TEST_QTGL)
if(USE_QT AND USE_VTK AND TEST_QTGL AND QT_VERSION EQUAL 5)
add_subdirectory(qtopengl)
endif()
endif()

0 comments on commit aabfaa8

Please sign in to comment.