Make use of Xinput lib only if we found it
Reviewed by: mgraesslin
This commit is contained in:
parent
1c344c16d9
commit
bb7674f2b6
1 changed files with 4 additions and 1 deletions
|
@ -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…
Reference in a new issue