From b936bccd9d0d7f50f37c078b7aad9e75ee9fc981 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sat, 16 Jun 2018 09:46:48 +0200 Subject: Add Plasma option to cmake that turns on KF5 blur window effect --- src/CMakeLists.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0c6876d..cf66a53 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -58,7 +58,15 @@ target_link_libraries(poi about addressbar configuration - bookmarks downloads web) + bookmarks downloads web +) + +if(Plasma) + target_link_libraries(poi KF5::WindowSystem) + target_compile_definitions(poi + PRIVATE PLASMA_BLUR # give the main window a translucent background and blur + ) +endif(Plasma) target_compile_definitions(poi PRIVATE QTBUG_65223_WORKAROUND -- cgit v1.2.1