Skip to content

Further update CMake files#760

Merged
mhucka merged 5 commits into
masterfrom
mh-further-cmake-updates
Jun 13, 2025
Merged

Further update CMake files#760
mhucka merged 5 commits into
masterfrom
mh-further-cmake-updates

Conversation

@mhucka
Copy link
Copy Markdown
Collaborator

@mhucka mhucka commented Jun 12, 2025

This adds more paths for CMake to find include files and libraries on MacOS, fixes a problem with setting project() in the top-level Dockerfile, and improves and slightly modernizes pybind11_interface/GetPybind11.cmake.

mhucka added 5 commits June 12, 2025 17:56
Some version of cmake doesn't like project() begin called at the very
start. Changing the order around seems to work better.
On some platforms, the previous pybind-finding code either found the
wrong one, or didn't set certain cmake variables.
On MacOS, we need to tell cmake to look in /opt/homebrew for include
files and libraries.
This caused the cibuildwheel workflow to fail on GitHub Windows
runners.
@mhucka mhucka merged commit b71ba3c into master Jun 13, 2025
15 of 20 checks passed
@mhucka mhucka deleted the mh-further-cmake-updates branch June 13, 2025 20:06
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.

3 participants