From 2b9898d46f14aedf22c81ae7311d04bc97ece4d7 Mon Sep 17 00:00:00 2001 From: Bhushan Shah Date: Fri, 14 May 2021 03:26:38 +0000 Subject: [PATCH] cmake: check for Breeze_FOUND first before checking for kdecoration --- kcms/lookandfeel/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kcms/lookandfeel/CMakeLists.txt b/kcms/lookandfeel/CMakeLists.txt index c13747a46..92302d423 100644 --- a/kcms/lookandfeel/CMakeLists.txt +++ b/kcms/lookandfeel/CMakeLists.txt @@ -5,8 +5,10 @@ if(X11_Xcursor_FOUND) set(HAVE_XCURSOR TRUE) endif() -if(${Breeze_FOUND} AND ${BREEZE_WITH_KDECORATION}) - set(HAVE_BREEZE_DECO TRUE) +if(${Breeze_FOUND}) + if(${BREEZE_WITH_KDECORATION}) + set(HAVE_BREEZE_DECO TRUE) + endif() endif() configure_file (config-kcm.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kcm.h )