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

[collada-dom] Add REMOVE_RECURSE to solve DLLs error path #16763

Merged
merged 12 commits into from
Mar 19, 2021

Conversation

JonLiu1993
Copy link
Member

Describe the pull request

  • What does your PR fix? Fixes [collada-dom:x64-windows-static] build failure #16720
    When install colladda-dom:x64-windows-static ,The error shows that DLL files are generated in the bin directory during static install, use REMOVE_RECURSE in the portfile to remove them,

Note: no feature need to test

@JonLiu1993 JonLiu1993 added category:port-bug The issue is with a library, which is something the port should already support info:internal This PR or Issue was filed by the vcpkg team. labels Mar 18, 2021
@JonLiu1993 JonLiu1993 marked this pull request as ready for review March 18, 2021 07:31
Copy link
Contributor

@NancyLi1013 NancyLi1013 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also update the patches format.

ports/collada-dom/CONTROL Outdated Show resolved Hide resolved
ports/collada-dom/CONTROL Outdated Show resolved Hide resolved
scripts/ci.baseline.txt Outdated Show resolved Hide resolved
@NancyLi1013 NancyLi1013 added the info:reviewed Pull Request changes follow basic guidelines label Mar 18, 2021
Copy link
Contributor

@ras0219-msft ras0219-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

collada-dom only supports shared library linkage: https://github.com/rdiankov/collada-dom/blob/master/dom/CMakeLists.txt#L31.

We either need to patch out the SHARED keyword from the add_library() call or we need to add vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY) at the top of this port.

versions/c-/collada-dom.json Outdated Show resolved Hide resolved
@NancyLi1013 NancyLi1013 removed the info:reviewed Pull Request changes follow basic guidelines label Mar 19, 2021
@NancyLi1013 NancyLi1013 added the info:reviewed Pull Request changes follow basic guidelines label Mar 19, 2021
@ras0219-msft ras0219-msft merged commit f2b24a8 into microsoft:master Mar 19, 2021
@ras0219-msft
Copy link
Contributor

Thanks!

@JonLiu1993 JonLiu1993 deleted the dev/Jon/collada-dom branch July 7, 2021 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support info:internal This PR or Issue was filed by the vcpkg team. info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[collada-dom:x64-windows-static] build failure
3 participants