summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorLi Xinwei <1326710505@qq.com>2021-05-07 22:24:41 +0800
committerLi Xinwei <1326710505@qq.com>2021-05-08 00:21:45 +0800
commitc919794edcc7fb17c2fef94665e94993ee17f364 (patch)
tree9f6ce9382b685a0d99622cc4fd4aa8ced5f935d5 /cmake
parent8400b0b165701ec70883c485f383f6747bcdda17 (diff)
CMake: fix warning
CMake Warning (dev) at .../cmake/share/cmake-3.19/Modules/ FindPackageHandleStandardArgs.cmake:426 (message): The package name passed to `find_package_handle_standard_args` (PkgConfig) does not match the name of the calling package (BlueZ). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Change-Id: I25844ebedc47197a19ea4a91b6e4c5cf7d2fbe36 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindBlueZ.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindBlueZ.cmake b/cmake/FindBlueZ.cmake
index abebfb93..aa192f10 100644
--- a/cmake/FindBlueZ.cmake
+++ b/cmake/FindBlueZ.cmake
@@ -1,4 +1,4 @@
-include(FindPkgConfig)
+find_package(PkgConfig QUIET)
pkg_check_modules(BLUEZ bluez IMPORTED_TARGET)