Tiny updates from experience building on Mac (#2894)

Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
Gavin Ridley 2024-04-20 00:44:40 -05:00 committed by GitHub
parent 5111aa2621
commit b53b601edc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 95 additions and 55 deletions

View file

@ -20,7 +20,7 @@ def cpp_driver(request):
openmc_dir = Path(str(request.config.rootdir)) / 'build'
with open('CMakeLists.txt', 'w') as f:
f.write(textwrap.dedent("""
cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
project(openmc_cpp_driver CXX)
add_executable(cpp_driver driver.cpp)
find_package(OpenMC REQUIRED HINTS {})