Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Only link privately to qtopengwidgets

Halla Rempt7c99119a6e35
diff --git a/libs/flake/CMakeLists.txt b/libs/flake/CMakeLists.txt
index eb0bdb85ed..d3fec4ca28 100644
--- a/libs/flake/CMakeLists.txt
+++ b/libs/flake/CMakeLists.txt
@@ -287,7 +287,7 @@ target_link_libraries(kritaflake
if (QT_MAJOR_VERSION STREQUAL "6")
target_link_libraries(kritaflake
- PUBLIC
+ PRIVATE
Qt${QT_MAJOR_VERSION}::OpenGLWidgets
)
endif()