-
Notifications
You must be signed in to change notification settings - Fork 627
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Linux: Allow connecting Wiimotes via L2CAP (#1353)
- Loading branch information
1 parent
934cb54
commit dd0af0a
Showing
14 changed files
with
557 additions
and
246 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# SPDX-FileCopyrightText: 2022 Andrea Pappacoda <[email protected]> | ||
# SPDX-License-Identifier: ISC | ||
|
||
find_package(bluez CONFIG) | ||
if (NOT bluez_FOUND) | ||
find_package(PkgConfig) | ||
if (PKG_CONFIG_FOUND) | ||
pkg_search_module(bluez IMPORTED_TARGET GLOBAL bluez-1.0 bluez) | ||
if (bluez_FOUND) | ||
add_library(bluez::bluez ALIAS PkgConfig::bluez) | ||
endif () | ||
endif () | ||
endif () | ||
|
||
find_package_handle_standard_args(bluez | ||
REQUIRED_VARS | ||
bluez_LINK_LIBRARIES | ||
bluez_FOUND | ||
VERSION_VAR bluez_VERSION | ||
) |
Oops, something went wrong.