Skip to content

[ned14-internal-quickcpplib] fix install#45258

Merged
JavierMatosD merged 4 commits into
microsoft:masterfrom
JackBoosY:jack/45231
May 15, 2025
Merged

[ned14-internal-quickcpplib] fix install#45258
JavierMatosD merged 4 commits into
microsoft:masterfrom
JackBoosY:jack/45231

Conversation

@JackBoosY

@JackBoosY JackBoosY commented Apr 28, 2025

Copy link
Copy Markdown
Contributor

Always exclude the third-part headers to prevent install error.
See https://github.com/ned14/quickcpplib/tree/master/include/quickcpplib

  • Changes comply with the maintainer guide.
  • SHA512s are updated for each updated download.
  • The "supports" clause reflects platforms that may be fixed by this new version.
  • Any fixed CI baseline entries are removed from that file.
  • Any patches that are no longer applied are deleted from the port's directory.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Only one version is added to each modified port's versions file.

Fixes #45231

@JackBoosY

Copy link
Copy Markdown
Contributor Author

@Bobini1 please test this PR.

@LilyWangLL LilyWangLL added the category:port-bug The issue is with a library, which is something the port should already support label Apr 28, 2025
Comment thread ports/ned14-internal-quickcpplib/fix-install.patch Outdated
@JackBoosY JackBoosY marked this pull request as draft April 29, 2025 05:23
@Bobini1

Bobini1 commented May 9, 2025

Copy link
Copy Markdown
Contributor

Hi, I would like to repeat that the issue persists. I can't use this library on Linux.

@JackBoosY

JackBoosY commented May 14, 2025

Copy link
Copy Markdown
Contributor Author

Waiting for the maintainer reply on ned14/quickcpplib#62
And I will update this PR later today.

@JackBoosY

Copy link
Copy Markdown
Contributor Author

@Bobini1 Please validate again.

@JackBoosY JackBoosY marked this pull request as ready for review May 14, 2025 08:41

# Emulate list(FILTER list INCLUDE|EXCLUDE REGEX regex) on cmake < 3.6
function(list_filter listname op regexqualifer regex)
- if(CMAKE_VERSION VERSION_GREATER 3.59)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Since this port requires cmake version > 3.9, the else part is not needed.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It should be enough to fix this single line. There is no 3.59.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Change to if(0). Only the else branch has set(... PARENT_SCOPE).
(Of course nobody noticed before CMake 4.0...)

@JackBoosY JackBoosY requested a review from LilyWangLL May 14, 2025 08:42
@JackBoosY

JackBoosY commented May 14, 2025

Copy link
Copy Markdown
Contributor Author

DO NOT merge this PR until @Bobini1 validated this.

@Bobini1

Bobini1 commented May 15, 2025

Copy link
Copy Markdown
Contributor

@JackBoosY It works now, thanks! : )

@LilyWangLL LilyWangLL added the info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. label May 15, 2025
@JavierMatosD JavierMatosD merged commit 6155b84 into microsoft:master May 15, 2025
18 checks passed
@JackBoosY JackBoosY deleted the jack/45231 branch May 16, 2025 01:08
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:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ned14-internal-quickcpplib] Build error on x64-linux

5 participants