From 50179c7b96ed33e12a4163628e675e9f4ac33447 Mon Sep 17 00:00:00 2001 From: "Matthew J. Milner" Date: Mon, 16 Sep 2024 18:32:17 +0200 Subject: [PATCH] Fix incorrect linking of Avogadro::Rendering/QtGui Signed-off-by: Matthew J. Milner --- avogadro/qtopengl/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avogadro/qtopengl/CMakeLists.txt b/avogadro/qtopengl/CMakeLists.txt index b1286d779a..dc74ef102a 100644 --- a/avogadro/qtopengl/CMakeLists.txt +++ b/avogadro/qtopengl/CMakeLists.txt @@ -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()