Skip to content

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

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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mhucka
Copy link
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 pavoljuhas and dstrain115 May 30, 2025 18:12
@mhucka mhucka marked this pull request as draft June 1, 2025 16:29
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