-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[osmanip] Add new port #30016
[osmanip] Add new port #30016
Conversation
Co-authored-by: Frank <[email protected]>
Co-authored-by: Frank <[email protected]>
Co-authored-by: Frank <[email protected]>
The suggested osmanip change is good (with regard to the include(CMakeFindDependencyMacro)
find_dependency(arsenalgear CONFIG) early in osmanip's |
Hello, @dg0yt I added your updates, now it should be fixed. @JonLiu1993 If I add this line: find_package( arsenalgear CONFIG REQUIRED ): I get an error: CMake Error at CMakeLists.txt:47 (find_package):
Could not find a package configuration file provided by "arsenalgear" with
any of the following names:
arsenalgearConfig.cmake
arsenalgear-config.cmake
Add the installation prefix of "arsenalgear" to CMAKE_PREFIX_PATH or set
"arsenalgear_DIR" to a directory containing one of the above files. If
"arsenalgear" provides a separate development package or SDK, be sure it
has been installed. But If I simply add: find_package( arsenalgear CONFIG ) It works. |
@JustWhit3, Very strange, I can successfully compile with
|
@JonLiu1993 I put that line of code exactly here into the |
You have added to cmake/config.cmake.in
It will automatically modify the files in CMAKELISTS. What you have to do now is to make a patch manually modify the usage in CMakeLists to ensure that users can use it for the time being
After the next stable version is released, this patch is no longer needed |
Updated. Now it should be correct. |
@JustWhit3, Sorry, maybe my statement is not clear enough, the only thing you need to do now is to make a patch, the patch content is to https://github.com/JustWhit3/osmanip/blob/4c810a579eba784af0e86c1bec10cb33832a8e63/CMakeLists.txt#L47-L48
change into
|
AFAICS upstream source has capabilities to fetch arsenalgear. This may hide the lack to properly use vcpkg's arsenalgear ( |
@JonLiu1993 Ok I added a new patch and now it should be correct. @dg0yt So is it right what I did? I sincerly didn't completely understand your statement, sorry. |
Co-authored-by: JonLiu1993 <[email protected]>
Usage tested successfully by
|
Describe the pull request
What does your PR fix?
This PR adds port to osmanip.
Which triplets are supported/not supported? Have you updated the CI baseline?
Linux, MacOS, Windows. Yes.
Does your PR follow the maintainer guide?
Yes
If you have added/updated a port: Have you run
./vcpkg x-add-version --all
and committed the result?Yes