Commit ad0d1005 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

lookandfeel kcm: Simplify CMake if condition

parent 0737efbb
......@@ -5,14 +5,8 @@ if(X11_Xcursor_FOUND)
set(HAVE_XCURSOR TRUE)
endif()
if(${Breeze_FOUND})
if(${BREEZE_WITH_KDECORATION})
set(HAVE_BREEZE_DECO true)
else()
set(HAVE_BREEZE_DECO FALSE)
endif()
else()
set(HAVE_BREEZE_DECO FALSE)
if(${Breeze_FOUND} AND ${BREEZE_WITH_KDECORATION})
set(HAVE_BREEZE_DECO TRUE)
endif()
configure_file (config-kcm.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kcm.h )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment