-
Notifications
You must be signed in to change notification settings - Fork 2k
gdcm: add 3.0.20 #14362
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
gdcm: add 3.0.20 #14362
Conversation
Use system openssl, json-c and libiconv
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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.
LGTM
@@ -69,8 +81,12 @@ def generate(self): | |||
tc.variables["GDCM_BUILD_SHARED_LIBS"] = bool(self.options.shared) | |||
# FIXME: unvendor deps https://github.com/conan-io/conan-center-index/pull/5705#discussion_r647224146 | |||
tc.variables["GDCM_USE_SYSTEM_EXPAT"] = True | |||
tc.variables["GDCM_USE_SYSTEM_JSON"] = self.options.with_json |
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 don't understand. What happen when with_json option is False? gdcm still uses json-c but bundled one?
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.
Moreover the json patch could be more robust, upstream doesn't rely on official json-c config filen but on a custom FindJSON.cmake file.
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 I understood correctly, without GDCM_USE_SYSTEM_JSON json functionality just won't work - there is no gdcm internal analogue. Same with openssl. Theoretically some people might want to use it but it's not part of core functionality - I didn't even know that gdcm has it for many years.
Use system openssl, json-c, libiconv, libuuid
Specify library name and version: gdcm/all