-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[tesseract] Update and fix feature training-tools build #29225
Conversation
da8b4ad
to
5751be8
Compare
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.
When updating vcpkg.json
, please add "default_features": false
to more complex dependencies (curl, libarchive, ...).
"cpu-independed": { | ||
"description": "build on any cpu extension commands support" | ||
}, |
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.
If the feature is removed instead of turning it into a no-op, vcpkg upgrade
will break if the features is already installed.
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.
How about microsoft/vcpkg-tool#873
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.
I think it could be an extra option, so that features aren't uninstalled without notice.
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.
We could emit a warning
target_link_libraries(unicharset_training | ||
PUBLIC common_training org.sw.demo.unicode.icu.i18n) | ||
else() | ||
- if(${CMAKE_VERSION} VERSION_LESS "3.12.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.
if(1)
?
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.
I simply used the upstream merged patch
target_include_directories(pango_training BEFORE | ||
PUBLIC ${PANGO_INCLUDE_DIRS}) | ||
target_compile_definitions(pango_training PUBLIC -DPANGO_ENABLE_ENGINE) | ||
- if(${CMAKE_VERSION} VERSION_LESS "3.12.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.
if(1)
?
5751be8
to
c002a34
Compare
c002a34
to
08cbd83
Compare
Still hate that this is not the default ... |
08cbd83
to
e8fc720
Compare
Depends on #29266 |
e8fc720
to
bdee4fa
Compare
Thanks for the update and feature fix! |
./vcpkg x-add-version --all
and committing the result.