Skip to content

CMake: fix issue with target_compile_features() - #4863

Merged
kbevers merged 1 commit into
OSGeo:masterfrom
mwtoews:fix-cmake-target-compile-features
Sep 24, 2026
Merged

kbevers merged 1 commit into
OSGeo:masterfrom
mwtoews:fix-cmake-target-compile-features

Conversation

@mwtoews

@mwtoews mwtoews commented Sep 21, 2026

Copy link
Copy Markdown
Member

This modifies a recently added target_compile_features() (via #4847) to use a PRIVATE scope instead of PUBLIC.

While I cannot recreate this issue with a cpp_app postinstall test, I have locally recreated this issue with Mapnik. I have not determined why this error happens with this case.

Fixes #4862

@mwtoews mwtoews added this to the 9.9.1 milestone Sep 21, 2026
@mwtoews mwtoews added the backport 9.9 Backport to 9.9 branch label Sep 21, 2026
@kbevers
kbevers merged commit 010d62c into OSGeo:master Sep 24, 2026
31 checks passed
@mwtoews
mwtoews deleted the fix-cmake-target-compile-features branch September 24, 2026 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 9.9 Backport to 9.9 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CMake: No known features for C compiler

2 participants