From a6a45482f74c0ff9ed9da9bfb258dcb70eaacb4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Pereira?= Date: Wed, 31 May 2023 17:31:02 +0100 Subject: [PATCH] Remove KWindowSystem as direct dependency KWindowSystem isn't an source code dependency. liblxqt brings KWindowSystem in as an INTERFACE_LINK dependency. --- CMakeLists.txt | 2 -- lxqt-admin-time/CMakeLists.txt | 1 - lxqt-admin-user/CMakeLists.txt | 1 - 3 files changed, 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5c138701..96f94adf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,13 +12,11 @@ option(UPDATE_TRANSLATIONS "Update source translation translations/*.ts files" O set(LIB_INSTALL_DIR "lib${LIB_SUFFIX}" CACHE PATH "Installation path for libraries") # Minimum Versions -set(KF5_MINIMUM_VERSION "5.36.0") set(LXQT_MINIMUM_VERSION "1.3.0") set(QT_MINIMUM_VERSION "5.15.0") find_package(Qt5Widgets ${QT_MINIMUM_VERSION} REQUIRED) find_package(lxqt ${LXQT_MINIMUM_VERSION} REQUIRED) -find_package(KF5WindowSystem ${KF5_MINIMUM_VERSION} REQUIRED) find_package(PolkitQt5-1 REQUIRED) # Patch Version diff --git a/lxqt-admin-time/CMakeLists.txt b/lxqt-admin-time/CMakeLists.txt index a0cdcd8a..70d296aa 100644 --- a/lxqt-admin-time/CMakeLists.txt +++ b/lxqt-admin-time/CMakeLists.txt @@ -75,7 +75,6 @@ add_executable(lxqt-admin-time ) target_link_libraries(lxqt-admin-time - KF5::WindowSystem Qt5::Widgets Qt5::DBus lxqt diff --git a/lxqt-admin-user/CMakeLists.txt b/lxqt-admin-user/CMakeLists.txt index ad48f6fd..d6a85a7c 100644 --- a/lxqt-admin-user/CMakeLists.txt +++ b/lxqt-admin-user/CMakeLists.txt @@ -58,7 +58,6 @@ add_executable(lxqt-admin-user ) target_link_libraries(lxqt-admin-user - KF5::WindowSystem Qt5::Widgets lxqt )