Skip to content

Commit 1a2f86d

Browse files
committed
Since Qt tests are currently Qt5-only don't build them for Qt6
Signed-off-by: Geoff Hutchison <geoff.hutchison@gmail.com>
1 parent 2df9224 commit 1a2f86d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ mark_as_advanced(AVOGADRO_DATA_ROOT)
3535
# Add the tests for each module.
3636
add_subdirectory(core)
3737
add_subdirectory(io)
38-
if(USE_QT)
38+
if(USE_QT AND QT_VERSION EQUAL 5)
3939
add_subdirectory(qtgui)
4040
endif()
4141
if(USE_OPENGL)
4242
add_subdirectory(rendering)
43-
if(USE_QT AND USE_VTK AND TEST_QTGL)
43+
if(USE_QT AND USE_VTK AND TEST_QTGL AND QT_VERSION EQUAL 5)
4444
add_subdirectory(qtopengl)
4545
endif()
4646
endif()

0 commit comments

Comments
 (0)