Skip to content
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

[Backport 9.5] Fixed sql_filelist.cmake relative path issue #4298

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

rouault
Copy link
Member

@rouault rouault commented Oct 30, 2024

Backport #4296
Authored by: @dbs4261

`CMAKE_CURRENT_SOURCE_DIR` is relative to the file that includes `sql_filelist.cmake` not relative to `sql_filelist.cmake` itself. This allows running the module from other portions of a cmake script, for example in a consuming project with FetchContent.
@rouault rouault added this to the 9.5.1 milestone Oct 30, 2024
@rouault rouault merged commit 061d12f into 9.5 Oct 30, 2024
44 checks passed
@rouault rouault deleted the backport-4296-to-9.5 branch October 30, 2024 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants