Skip to content

Commit

Permalink
Fix incorrect linking of Avogadro::Rendering/QtGui
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew J. Milner <[email protected]>
  • Loading branch information
matterhorn103 committed Sep 16, 2024
1 parent bb9f656 commit 50179c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avogadro/qtopengl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ target_sources(QtOpenGL PRIVATE
)

avogadro_add_library(QtOpenGL)
target_link_libraries(QtOpenGL PRIVATE Avogadro::Rendering Avogadro::QtGui Qt::Widgets)
target_link_libraries(QtOpenGL PUBLIC Avogadro::Rendering Avogadro::QtGui Qt::Widgets)
if(QT_VERSION EQUAL 6)
target_link_libraries(QtOpenGL PRIVATE Qt6::OpenGLWidgets)
endif()

0 comments on commit 50179c7

Please sign in to comment.