Skip to content

[hidapi] Fix cmake error#22320

Merged
strega-nil-ms merged 2 commits intomicrosoft:masterfrom
LilyWangLL:dev/LilyWang/issue22280
Jan 5, 2022
Merged

[hidapi] Fix cmake error#22320
strega-nil-ms merged 2 commits intomicrosoft:masterfrom
LilyWangLL:dev/LilyWang/issue22280

Conversation

@LilyWangLL
Copy link
Copy Markdown
Contributor

Fixes #22280
Fix CMake error:

[cmake]   Imported target "hidapi::hidapi" includes non-existent path
[cmake] 
[cmake]     "/include"
[cmake] 
[cmake]   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
[cmake] 
[cmake]   * The path was deleted, renamed, or moved to another location.
[cmake] 
[cmake]   * An install or uninstall procedure did not complete successfully.
[cmake] 
[cmake]   * The installation package was faulty and references files it does not
[cmake]   provide.

@LilyWangLL LilyWangLL added category:port-bug The issue is with a library, which is something the port should already support info:internal labels Jan 4, 2022
@LilyWangLL LilyWangLL requested a review from PhoebeHui January 4, 2022 06:50
@LilyWangLL LilyWangLL changed the title Dev/lily wang/issue22280 [hidapi] Fix cmake error Jan 4, 2022
@PhoebeHui PhoebeHui added the info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. label Jan 4, 2022
@strega-nil-ms strega-nil-ms merged commit f2fa2fe into microsoft:master Jan 5, 2022
@strega-nil-ms
Copy link
Copy Markdown
Contributor

Thanks!

JoergAtGithub added a commit to JoergAtGithub/vcpkg that referenced this pull request May 30, 2022
ras0219-msft pushed a commit that referenced this pull request Jun 2, 2022
* Updated to latest release:
https://github.com/libusb/hidapi/releases/tag/hidapi-0.12.0

* Update SHA

* SHA = 0

* Overwrite version

* SHA512

* version

* Removed failing line introduced in #22320

* version

* Added vcpkg_replace_string again, now for libhidapi.cmake instead of hidapi.cmake

* x-add-version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:port-bug The issue is with a library, which is something the port should already support info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[hidapi] build failure "Imported target includes non-existent path"

3 participants