Skip to content
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

Fixes #483. Move to use CACHE INTERNAL #485

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

mathomp4
Copy link
Collaborator

@mathomp4 mathomp4 commented Mar 6, 2025

Closes #483

This PR updates the main CMake from using PARENT_SCOPE to CACHE INTERNAL. The former seemed to have issues when pFUnit was used via FetchContent from a subdirectory. The latter is a bit of a sledgehammer, but makes sure variables are defined in all scopes.

We also update a few bits of CMake to avoid some warnings:

  • Change some cmake_minimum_required to 3.12
  • Fix some COMMENT as CMake expects a single argument

@mathomp4 mathomp4 self-assigned this Mar 6, 2025
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