From 83a2448b8428d39116c8de88200f4b2819c099e8 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Thu, 19 Dec 2024 21:31:52 +0100 Subject: [PATCH] CMake: do not expand variables beforehand See also: https://invent.kde.org/plasma/libplasma/-/merge_requests/267 Signed-off-by: Andreas Sturmlechner --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c992903db6..cb5adc57c2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -165,8 +165,8 @@ set_package_properties(Breeze PROPERTIES TYPE OPTIONAL PURPOSE "For setting the default window decoration plugin" ) -if (${Breeze_FOUND}) - if (${BREEZE_WITH_KDECORATION}) +if (Breeze_FOUND) + if (BREEZE_WITH_KDECORATION) set(HAVE_BREEZE_DECO true) else() set(HAVE_BREEZE_DECO FALSE)