Merge pull request #1838 from pshriwise/dagmc_version_check

Re-add DAGMC Version Check
This commit is contained in:
Paul Romano 2021-05-17 21:58:34 -05:00 committed by GitHub
commit 2f60f162ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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