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)