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
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)

Loading…
Cancel
Save