From de58e455484e5200f279b931c9e4342072c1b46d Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Tue, 28 Nov 2023 08:09:59 +0100 Subject: [PATCH] fix --- CMakeLists.txt | 6 ------ src/librssguard/CMakeLists.txt | 16 +++------------- 2 files changed, 3 insertions(+), 19 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 61386de7a..cd369c98c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -168,12 +168,6 @@ if(ENABLE_MEDIAPLAYER_LIBMPV) set(LibMPV_ROOT "${CMAKE_SOURCE_DIR}/resources/scripts/libmpv") endif() - list(APPEND QT_COMPONENTS OpenGL) - - if(BUILD_WITH_QT6) - list(APPEND QT_COMPONENTS OpenGLWidgets) - endif() - add_compile_definitions(ENABLE_MEDIAPLAYER_LIBMPV) endif() diff --git a/src/librssguard/CMakeLists.txt b/src/librssguard/CMakeLists.txt index a6e4c1c5e..916c988fd 100644 --- a/src/librssguard/CMakeLists.txt +++ b/src/librssguard/CMakeLists.txt @@ -829,19 +829,9 @@ elseif(ENABLE_MEDIAPLAYER_LIBMPV) PRIVATE ${LibMPV_INCLUDE_DIRS} ) - - if(BUILD_WITH_QT6) - target_link_libraries(rssguard PUBLIC - Qt${QT_VERSION_MAJOR}::OpenGL - Qt${QT_VERSION_MAJOR}::OpenGLWidgets - ${LibMPV_LIBRARIES} - ) - else() - target_link_libraries(rssguard PUBLIC - Qt${QT_VERSION_MAJOR}::OpenGL - ${LibMPV_LIBRARIES} - ) - endif() + target_link_libraries(rssguard PUBLIC + ${LibMPV_LIBRARIES} + ) endif() if(UNIX AND NOT APPLE AND NOT ANDROID)