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