Repository navigation
CMake: Replace deprecated SQLite::SQLite3 with SQLite3::SQLite3 - #7588
Merged
Merged
Conversation
In CMake 4.3+, the `SQLite::SQLite3` is deprecated and throws messages. The docs page https://cmake.org/cmake/help/v4.3/module/FindSQLite3.html suggest using an `add_library()` alias to allow new name to compile on old versions.
echoix
enabled auto-merge (squash)
June 20, 2026 18:09
Member
Author
|
The warning message that this solves is with recent CMake versions, like 4.3.0: https://github.com/echoix/grass/actions/runs/27889599131/job/82530703834?pr=660#step:8:235 |
nilason
approved these changes
Jul 2, 2026
nilason
left a comment
Contributor
There was a problem hiding this comment.
Looks good to me, thanks!
ninsbl
pushed a commit
to ninsbl/grass
that referenced
this pull request
Jul 7, 2026
…o#7588) In CMake 4.3+, the `SQLite::SQLite3` is deprecated and throws messages. The docs page https://cmake.org/cmake/help/v4.3/module/FindSQLite3.html suggest using an `add_library()` alias to allow new name to compile on old versions.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In CMake 4.3+, the
SQLite::SQLite3is deprecated and throws messages. The docs page https://cmake.org/cmake/help/v4.3/module/FindSQLite3.html suggest using anadd_library()alias to allow new name to compile on old versions.