Skip to content
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

Remove USING_STATIC_XERCES as this is not necessary anymore since XercesC 3.2.0 #317

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

SunBlack
Copy link
Contributor

@SunBlack SunBlack commented Dec 4, 2024

Since when updating the lib in vcpkg the question came up why USING_STATIC_XERCES is needed (microsoft/vcpkg#42498), I looked a little deeper and it seems like it's a leftover from before they natively supported CMake in 3.2.0. Since 3.2.0 came out in 2017, it should be okay to stop supporting all older versions and base them on config mode. I have also suggested deprecating the old XercesC module in CMake, therefore already enforcing the config mode,

// Edit: Removed the force of using the Config module, as Xerces-C can be still build with a configure.ac file, where the CMake files were missing later. But as XERCES_STATIC_LIBRARY still seems to be obsolete since 3.2.0, removing USING_STATIC_XERCES seems to be okay.

@SunBlack SunBlack force-pushed the remove_USING_STATIC_XERCES branch from 1ac8a8c to 0c7c65a Compare December 4, 2024 13:57
@asmaloney asmaloney merged commit d477c5b into asmaloney:master Dec 4, 2024
8 of 12 checks passed
@asmaloney
Copy link
Owner

Thanks!

@SunBlack SunBlack deleted the remove_USING_STATIC_XERCES branch December 4, 2024 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants