Skip to content

Fix CMake warnings generated by more recent versions of cmake - #36

Merged
benstone merged 2 commits into
benstone:mainfrom
mcayland:fix/cmake-warnings
Sep 18, 2026
Merged

benstone merged 2 commits into
benstone:mainfrom
mcayland:fix/cmake-warnings

Conversation

@mcayland

@mcayland mcayland commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

This series contains a couple of fixes for CMake warnings that are being generated now I've updated my Linux machine to use a newer version of CMake (I also see similar warnings in the GitHub CI output).

Recent versions of cmake emit a "Calling FetchContent_Populate(miniaudio) is
deprecated, call FetchContent_MakeAvailable(miniaudio) instead" warning during
the cmake generation phase.

Update FetchMiniaudio.cmake to use the recommended FetchContent_MakeAvailable()
function instead.
Recent versions of cmake emit a "Policy CMP0177 is not set: install()
DESTINATION paths are normalized" warning during the cmake generation phase
caused by use of a relative path (".") component in resources_path.

Fix the error by normalizing the generated resources_path before it is
subsequently used by install().
@benstone
benstone merged commit 9a44314 into benstone:main Sep 18, 2026
1 check passed
@benstone

Copy link
Copy Markdown
Owner

Thanks!

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