forked from signal11/hidapi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libusb: cmake: Proper dependency on Iconv (signal11#405)
- explicitly add Iconv as a dependent library; - check if iconv requires pointer-to-const as input (introduce ICONV_CONST check); - NetBSD CI (has external Iconv library implementation that uses all of the above);
- Loading branch information
Showing
5 changed files
with
62 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
image: netbsd/latest | ||
packages: | ||
- cmake | ||
- pkgconf | ||
- libusb1 | ||
- libiconv | ||
sources: | ||
- https://github.com/libusb/hidapi | ||
tasks: | ||
- setup: | | ||
cd hidapi | ||
mkdir -p build install | ||
cmake -B build -S . -DCMAKE_INSTALL_PREFIX=install | ||
- build: | | ||
cd hidapi/build | ||
make | ||
make install | ||
make clean |
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