-
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
[p-ranav-glob] add new port #43583
base: master
Are you sure you want to change the base?
[p-ranav-glob] add new port #43583
Conversation
ports/glob/usage
Outdated
The package glob provides CMake targets: | ||
|
||
find_package(Glob CONFIG REQUIRED) | ||
target_link_libraries(main PRIVATE Glob) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
find_package(Glob CONFIG REQUIRED)
target_link_libraries(main PRIVATE Glob)
(Aligned with tool heuristics output.)
"glob": { | ||
"baseline": "0.0.1", | ||
"port-version": 0 | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"glob": { | |
"baseline": "0.0.1", | |
"port-version": 0 | |
}, |
|
||
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}") | ||
vcpkg_cmake_install() | ||
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/Glob-1.0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/Glob-1.0") | |
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/Glob-1.0" PACKAGE_NAME "Glob") |
find_package
calls are REQUIRED, are satisfied byvcpkg.json
's declared dependencies, or disabled with CMAKE_DISABLE_FIND_PACKAGE_Xxx.vcpkg.json
matches what upstream says.vcpkg.json
matches what upstream says../vcpkg x-add-version --all
and committing the result.Fixes #43534