-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Configure fails with PROJ version 9.4.0 #56885
Comments
Thanks, would you mind making a pull request to fix this? I am not sure what |
As FindSQLite3 was introduced in CMake 3.14 this would require bump the I don't think this is a big deal. Any opinion? |
Why not make that bump to 3.16? It is 5 years old. That is the new requirement for GDAL 3.9. It will, as far as I can see, not affect either latest version or the LTR on distributions like e.g. Debian or Fedora. Just a thought. |
I think it's acceptable, I would propose it in a PR and see if there are objections. |
Just to add a few info the FindSQLite3 script from CMake does not work on my platform (Windows + Cygwin). It seems it does not look for the sqlite_i library which comes via OSGeo4W's qgis-deps. What I can do is propose a PR with modification of the qgis' This would be compliant with an increase of the |
We already do this for several other components, that sounds good |
What is the bug or the crash?
Changes with PROJ 9.4.0, in particular OSGeo/PROJ@efc6c95, causes configuration failure for QGIS. See log extract from a MacPorts build attempt:
This failure is caused by PROJ's change of
proj-config.cmake
to usefind_dependency()
instead offind_package()
in combination with QGIS's customFindSqlite.cmake
.I managed to address this configuration failure by by dropping the custom
FindSqlite3.cmake
to instead use the default CMakeFindSQLite3.cmake
(and change everySQLITE3_FOUND
toSQLite3_FOUND
,SQLITE3_INCLUDE_DIR
toSQLite3_INCLUDE_DIRS
andSQLITE3_LIBRARY
toSQLite3_LIBRARIES
).Perhaps this is Mac specific, perhaps depends on CMake version, or depends on MacPorts' specifics?
Steps to reproduce the issue
Versions
Tried with:
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: