From 47c12347ea4ee6b675d9be6c2443b1b53250e4db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20G=C3=A2teau?= Date: Wed, 13 Nov 2013 10:11:27 +0100 Subject: [PATCH] Fix clean build libkdecorations is part of kde-workspace so calling find_library() cannot work on a clean build since it has not been installed yet. CMake knows about it anyway since its part of kde-workspace, so it can use it without finding it. CCMAIL: hugo@oxygen-icons.org --- clients/oxygen/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clients/oxygen/CMakeLists.txt b/clients/oxygen/CMakeLists.txt index 4a52fe19d3..debe8525f0 100644 --- a/clients/oxygen/CMakeLists.txt +++ b/clients/oxygen/CMakeLists.txt @@ -26,8 +26,7 @@ add_library(kwin3_oxygen MODULE ${kwin_oxygen_SRCS}) target_link_libraries(kwin3_oxygen Qt5::Widgets ) target_link_libraries(kwin3_oxygen KF5::KI18n KF5::KWindowSystem KF5::KStyle) -find_library( KDECORATIONS_LIB NAMES kdecorations ) -target_link_libraries(kwin3_oxygen ${KDECORATIONS_LIB}) +target_link_libraries(kwin3_oxygen kdecorations) target_link_libraries(kwin3_oxygen oxygenstyle)