From b50a574c8e2bf77c17fea3bfd490deb9b5fccace Mon Sep 17 00:00:00 2001 From: Oliver Wolff Date: Mon, 23 Sep 2019 12:16:44 +0200 Subject: 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 --- cmake/FindBlueZ.cmake | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 cmake/FindBlueZ.cmake (limited to 'cmake') 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() -- cgit v1.2.1