summaryrefslogtreecommitdiffstats
path: root/cmake/FindLibproxy.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/FindLibproxy.cmake')
-rw-r--r--cmake/FindLibproxy.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/FindLibproxy.cmake b/cmake/FindLibproxy.cmake
new file mode 100644
index 0000000000..95d86d1617
--- /dev/null
+++ b/cmake/FindLibproxy.cmake
@@ -0,0 +1,7 @@
+find_package(PkgConfig)
+
+pkg_check_modules(Libproxy libproxy-1.0 IMPORTED_TARGET)
+
+if (NOT TARGET PkgConfig::Libproxy)
+ set(Libproxy_FOUND 0)
+endif()