Skip to content

Update some CMake files to add missing constructs & remove obsolete ones#739

Merged
mhucka merged 4 commits intomasterfrom
mh-update-cmake-files
Jun 9, 2025
Merged

Update some CMake files to add missing constructs & remove obsolete ones#739
mhucka merged 4 commits intomasterfrom
mh-update-cmake-files

Conversation

@mhucka
Copy link
Copy Markdown
Collaborator

@mhucka mhucka commented May 29, 2025

This updates two CMake files:

  • The top-level CMakeLists.txt file was missing a project() declaration. The lack of a project(qsim) declaration may have worked with old versions of cmake, but in newer versions, its absence causes build failures.
  • Remove a couple of obsolete constructs from pybind_interface/GetPybind11.cmake. These cause failures with newer versions of CMake.

mhucka added 2 commits May 29, 2025 23:19
These constructs cause failures with newer versions of cmake.
The lack of a `project(qsim)` declaration may not have been a problem
with old versions of cmake, but in newer versions, its absence causes
build failures.
@mhucka mhucka changed the title Remove obsolete constructs from GetPybind11.cmake Update CMake files May 30, 2025
@mhucka mhucka changed the title Update CMake files Update some CMake files to add missing constructs & remove obsolete ones May 30, 2025
@mhucka mhucka self-assigned this May 30, 2025
@mhucka mhucka requested review from dstrain115 and pavoljuhas May 30, 2025 18:12
@mhucka mhucka marked this pull request as draft June 1, 2025 16:29
@mhucka mhucka marked this pull request as ready for review June 9, 2025 22:51
@mhucka mhucka merged commit 948584a into master Jun 9, 2025
15 of 19 checks passed
@mhucka mhucka deleted the mh-update-cmake-files branch June 9, 2025 23:10
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.

1 participant