-
Notifications
You must be signed in to change notification settings - Fork 432
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
assume CMake is giving us GDAL_VERSION all the time
- Loading branch information
Showing
1 changed file
with
0 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46ecc4d
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.
With current master I get the following error, while a version from some weeks ago was fine :
installed GDAL is version 2.2, Ubuntu Bionic package. This commit may be the culprit ?
46ecc4d
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.
Yes this is the problem, but we need a better solution.
gdal-config
cures it, but we need to do work in situations wheregdal-config
does not exist (windows, conda) and parse out the version ourselves (older cmake doesn't parse versions correctly).46ecc4d
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.
46ecc4d
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.
Our old FindGDAL.cmake used to do (a great job of) this.
46ecc4d
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.
46ecc4d
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.
Fix attempt pushed in aec16d3. Please test @vpicavet
46ecc4d
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.
Tested and approved : compiles fine on my setup. Thanks !