summaryrefslogtreecommitdiffstats
path: root/cmake/FindXRender.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/FindXRender.cmake')
-rw-r--r--cmake/FindXRender.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/FindXRender.cmake b/cmake/FindXRender.cmake
new file mode 100644
index 0000000000..f9b8b266c9
--- /dev/null
+++ b/cmake/FindXRender.cmake
@@ -0,0 +1,5 @@
+include(FindPkgConfig)
+
+if(NOT TARGET PkgConfig::xrender)
+ pkg_check_modules(XRender xrender IMPORTED_TARGET)
+endif()