From c833fd0b9b54fcdd15fda5ff750187acc7c43a48 Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Thu, 13 May 2021 13:22:40 -0500 Subject: [PATCH] Re-adding DAGMC version check. --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1b5c1e7e167..d7bf69ba467 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,6 +48,10 @@ endif() #=============================================================================== if(dagmc) find_package(DAGMC REQUIRED PATH_SUFFIXES lib/cmake) + if (${DAGMC_VERSION} VERSION_LESS 3.2.0) + message(FATAL_ERROR "Discovered DAGMC Version: ${DAGMC_VERSION}. \ + Please update DAGMC to version 3.2.0 or greater.") + endif() endif() #===============================================================================