# Try to find Xinput # XINPUT_FOUND - If false, do not try to use Xrender # XINPUT_LIBRARIES - the libraries to link against # XINPUT_DEFINITIONS - switches required for Xrender #X11_Xext_LIB if (XEXT_LIBRARIES) # path set by user or was found in the past set(XEXT_FOUND TRUE) else (XEXT_LIBRARIES) find_package(PkgConfig) pkg_search_module(XEXT xext) endif (XEXT_LIBRARIES)