Fix the naming of the BlueZ package
Adjust variable names to be case-sensitive.
Fixes: QTBUG-109315
Change-Id: I7d534fbfd7891740fbc8ac172b24a2b03832388b
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
(cherry picked from commit 0b941a3580)
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
e43a3bb50d
commit
c1edd05af1
|
|
@ -1,7 +1,9 @@
|
|||
set(BlueZ_FOUND 0)
|
||||
|
||||
find_package(PkgConfig QUIET)
|
||||
|
||||
pkg_check_modules(BLUEZ bluez IMPORTED_TARGET)
|
||||
|
||||
if (NOT TARGET PkgConfig::BLUEZ)
|
||||
set(BLUEZ_FOUND 0)
|
||||
if(TARGET PkgConfig::BLUEZ)
|
||||
set(BlueZ_FOUND 1)
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#### Libraries
|
||||
|
||||
qt_find_package(BlueZ PROVIDED_TARGETS PkgConfig::BlueZ)
|
||||
qt_find_package(BlueZ PROVIDED_TARGETS PkgConfig::BLUEZ)
|
||||
|
||||
|
||||
#### Tests
|
||||
|
|
|
|||
Loading…
Reference in New Issue