ForestClaw / forestclaw

Quadtree/octree adaptive PDE solver based based on p4est.
http://www.forestclaw.org
BSD 2-Clause "Simplified" License
58 stars 21 forks source link

CMake find* enhancements #151

Closed scivision closed 2 years ago

scivision commented 3 years ago

CMake find_package should normally be kept in Basic mode, or it won't find non-cmake built versions of the libraries (Donna was having this issue). This PR uses the CMake behavior that setting variable (or environment variable) FOO_ROOT is a hint to find_package(FOO).

MacOS Homebrew uses GCC 11 now, particularly for M1 CPU, so we provide the default to GCC 11