pFUnit icon indicating copy to clipboard operation
pFUnit copied to clipboard

Fixes #483. Move to use CACHE INTERNAL

Open mathomp4 opened this issue 1 year ago • 0 comments

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 avatar Mar 06 '25 15:03 mathomp4