summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2022-02-15 08:33:29 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2022-03-17 14:59:38 +0100
commit619f89f5565e1f59df59828d6f2be87b24683264 (patch)
treee5a8969e1c23ff0a6e007c82a88794b3227d8229
parent14f294507eafdd3d1bbd325fd90c59a38d101caf (diff)
downloadqtconnectivity-619f89f5565e1f59df59828d6f2be87b24683264.tar.gz
CMake: Make sdpscanner an app
This executable is needed at runtime. Fixes: QTBUG-99295 Change-Id: I6cd4fc151bb505c750c5df20e5360e76034f8858 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 69d8a77b3be4401f5a46dae8ca2c0a46f831b2b8) Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
-rw-r--r--src/tools/sdpscanner/CMakeLists.txt15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/tools/sdpscanner/CMakeLists.txt b/src/tools/sdpscanner/CMakeLists.txt
index a9bc70ec..7736dea3 100644
--- a/src/tools/sdpscanner/CMakeLists.txt
+++ b/src/tools/sdpscanner/CMakeLists.txt
@@ -6,20 +6,9 @@ if(NOT TARGET PkgConfig::BLUEZ)
qt_find_package(BlueZ PROVIDED_TARGETS PkgConfig::BLUEZ)
endif()
-
-qt_get_tool_target_name(target_name sdpscanner)
-qt_internal_add_tool(${target_name}
- TOOLS_TARGET Bluetooth
- INSTALL_DIR "${INSTALL_LIBEXECDIR}"
+qt_internal_add_app(sdpscanner
SOURCES
main.cpp
- PUBLIC_LIBRARIES
+ LIBRARIES
PkgConfig::BLUEZ
)
-
-#### Keys ignored in scope 1:.:.:sdpscanner.pro:<TRUE>:
-# QT_FOR_CONFIG = "bluetooth-private"
-# TEMPLATE = "app"
-
-## Scopes:
-#####################################################################