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++

merge with cmake

Halla Rempte665b815f04c
diff --git a/libs/global/CMakeLists.txt b/libs/global/CMakeLists.txt
index 4d1a9c5674..d0ad926c47 100644
--- a/libs/global/CMakeLists.txt
+++ b/libs/global/CMakeLists.txt
@@ -82,6 +82,10 @@ target_link_libraries(kritaglobal
Eigen3::Eigen
)
+if (QT_MAJOR_VERSION STREQUAL "6")
+ target_link_libraries(kritaglobal PUBLIC Qt6::Core5Compat Qt6::OpenGL)
+endif()
+
if (GSL_FOUND)
target_link_libraries(kritaglobal PRIVATE GSL::gsl)
endif ()