Skip to content

Commit

Permalink
Remove Qt6Core5Compat dependency
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew J. Milner <[email protected]>
  • Loading branch information
matterhorn103 committed Oct 24, 2024
1 parent b9e99a6 commit 0800205
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions avogadro/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,16 @@ if(QT_VERSION EQUAL 6)
Concurrent
Widgets
Network
Core5Compat
OpenGL
OpenGLWidgets
REQUIRED)
else()
find_package(Qt5 COMPONENTS Concurrent Widgets Network REQUIRED)
find_package(Qt5
COMPONENTS
Concurrent
Widgets
Network
REQUIRED)
endif()

configure_file(avogadroappconfig.h.in avogadroappconfig.h)
Expand Down Expand Up @@ -212,7 +216,7 @@ if(ENABLE_TESTING)
target_link_libraries(avogadro QtTesting)
endif()
if(QT_VERSION EQUAL 6)
target_link_libraries(avogadro Qt6::Core5Compat Qt6::OpenGL Qt6::OpenGLWidgets)
target_link_libraries(avogadro Qt6::OpenGL Qt6::OpenGLWidgets)
endif()

if(USE_3DCONNEXION AND (WIN32 OR APPLE))
Expand Down

0 comments on commit 0800205

Please sign in to comment.