Make use of Xinput lib only if we found it

Reviewed by: mgraesslin
remotes/origin/mart/morphingpopups
Bhushan Shah 10 years ago
parent 1c344c16d9
commit bb7674f2b6
  1. 5
      CMakeLists.txt

@ -482,7 +482,10 @@ set(kwin_XLIB_LIBS
${X11_X11_LIB}
${X11_ICE_LIB}
${X11_SM_LIB}
${X11_Xinput_LIB}
)
if(X11_Xinput_FOUND)
set(kwin_XLIB_LIBS ${kwin_XLIB_LIBS} ${X11_Xinput_LIB}
)
set(kwin_XCB_LIBS

Loading…
Cancel
Save