summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@qt.io>2019-09-23 12:16:44 +0200
committerOliver Wolff <oliver.wolff@qt.io>2019-10-24 11:22:55 +0000
commitb50a574c8e2bf77c17fea3bfd490deb9b5fccace (patch)
treeb5ab86ed19046ff084aa9c623fb093819fffbbc7 /cmake
parentdc34b1feabeb860f6ff6f59a430d730cbacd1948 (diff)
downloadqtconnectivity-b50a574c8e2bf77c17fea3bfd490deb9b5fccace.tar.gz
Port qtconnectivity to cmake
Also removed dependencies.yaml at the same time, as the new dependency tracking is not used in wip/cmake at the moment. Task-number: QTBUG-78181 Change-Id: I39c23da8daeedd86b7720d66d48ab0af3762083c Reviewed-by: Qt CMake Build Bot Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindBlueZ.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/FindBlueZ.cmake b/cmake/FindBlueZ.cmake
new file mode 100644
index 00000000..abebfb93
--- /dev/null
+++ b/cmake/FindBlueZ.cmake
@@ -0,0 +1,7 @@
+include(FindPkgConfig)
+
+pkg_check_modules(BLUEZ bluez IMPORTED_TARGET)
+
+if (NOT TARGET PkgConfig::BLUEZ)
+ set(BLUEZ_FOUND 0)
+endif()