Re-adding DAGMC version check.

This commit is contained in:
Patrick Shriwise 2021-05-13 13:22:40 -05:00
parent 6c262157d6
commit c833fd0b9b

View file

@ -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()
#===============================================================================