qt5base-lts/cmake/FindXRender.cmake

10 lines
202 B
CMake
Raw Normal View History

include(FindPkgConfig)
if(NOT TARGET PkgConfig::XRender)
pkg_check_modules(XRender xrender IMPORTED_TARGET)
if (NOT TARGET PkgConfig::XRender)
set(XRender_FOUND 0)
endif()
endif()