-
Notifications
You must be signed in to change notification settings - Fork 7.3k
[ned14-internal-quickcpplib] fix install #45258
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
Conversation
|
@Bobini1 please test this PR. |
|
Hi, I would like to repeat that the issue persists. I can't use this library on Linux. |
|
Waiting for the maintainer reply on ned14/quickcpplib#62 |
|
@Bobini1 Please validate again. |
|
|
||
| # 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) |
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.
Since this port requires cmake version > 3.9, the else part is not needed.
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.
It should be enough to fix this single line. There is no 3.59.
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.
Change to if(0). Only the else branch has set(... PARENT_SCOPE).
(Of course nobody noticed before CMake 4.0...)
|
DO NOT merge this PR until @Bobini1 validated this. |
|
@JackBoosY It works now, thanks! : ) |
Always exclude the third-part headers to prevent install error.
See https://github.com/ned14/quickcpplib/tree/master/include/quickcpplib
./vcpkg x-add-version --alland committing the result.Fixes #45231