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>
wilder/Plasma/6.3
Andreas Sturmlechner 1 year ago committed by Andreas Sturmlechner
parent 8f93943e26
commit 83a2448b84
  1. 4
      CMakeLists.txt

@ -165,8 +165,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