CMake: do not expand variables beforehand

See also:
https://invent.kde.org/plasma/libplasma/-/merge_requests/267

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>


(cherry picked from commit 83a2448b84)

Co-authored-by: Andreas Sturmlechner <asturm@gentoo.org>
wilder/Plasma/6.2
Vlad Zahorodnii 1 year ago
parent 1c30abab4c
commit 658360a5c4
  1. 4
      CMakeLists.txt

@ -168,8 +168,8 @@ set_package_properties(Breeze PROPERTIES
TYPE OPTIONAL TYPE OPTIONAL
PURPOSE "For setting the default window decoration plugin" PURPOSE "For setting the default window decoration plugin"
) )
if (${Breeze_FOUND}) if (Breeze_FOUND)
if (${BREEZE_WITH_KDECORATION}) if (BREEZE_WITH_KDECORATION)
set(HAVE_BREEZE_DECO true) set(HAVE_BREEZE_DECO true)
else() else()
set(HAVE_BREEZE_DECO FALSE) set(HAVE_BREEZE_DECO FALSE)

Loading…
Cancel
Save