-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[CMake] Version check fails #11315
Comments
so the issue is not the dev suffix, right ? I believe that |
GDAL config is generated with compatibility setting "same minor version": Lines 561 to 564 in 1344d8d
|
Wanted to mention with it: Even when checking out a tag,
No, for this the keyword @dg0yt Ahh forgot that this could be the reasons as most projects are not this strict. Is there any reason, why this is not |
There are sometimes C++ API breakage in the 3.x series (tend to affect "obscure" parts of the API) With #11335 I believe there's nothing left preventing this ticket to be close? |
Ah okay, in this case this makes sense. Do you know, how often this happens?
Mhm, I think there is room for improvement
I think both would require changes on the part of CMake. I wrote a ticket to them and leave the ticket open here until it is clear whether something could be improved on the part of GDAL or not (in the latter case, the ticket could then be closed). |
What is the bug?
In our CMake file we have this line:
But this fails in case we building a dev build of CMake
Note: Had this issue already on our CI when checking our via
git clone --depth 1 --branch v3.10.0 https://github.com/OSGeo/gdal.git .
Shouldn't the
dev
removed on the commits with a release tag? Didn't checked the CMake source in which cases thedev
bill be added and when not.Steps to reproduce the issue
See bug decription
Versions and provenance
Windows & Linux
Additional context
No response
The text was updated successfully, but these errors were encountered: