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
This commit is contained in:
parent
0ad6811684
commit
47c12347ea
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue