diff --git a/CMakeLists.txt b/CMakeLists.txt index 748809094..ec0f2c986 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -59,12 +59,12 @@ if(BUILD_MCNP5 OR BUILD_MCNP6) enable_language(Fortran) endif() -include(FetchContent) # Try to find MOAB # find_package(MOAB QUIET) if (NOT MOAB_FOUND) + include(FetchContent) message(STATUS "MOAB not found. Fetching MOAB...") FetchContent_Declare( moab