Apply suggestions from code review

Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
Patrick Shriwise 2020-04-08 09:36:18 -05:00 committed by GitHub
parent 1998dac26f
commit 6338a8ae19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View file

@ -39,7 +39,7 @@ endif()
# DAGMC Geometry Support - need DAGMC/MOAB
#===============================================================================
if(dagmc)
find_package(DAGMC REQUIRED)
find_package(DAGMC REQUIRED PATH_SUFFIXES lib/cmake)
endif()
#===============================================================================

View file

@ -47,8 +47,6 @@ def install(omp=False, mpi=False, phdf5=False, dagmc=False):
if dagmc:
cmake_cmd.append('-Ddagmc=ON')
home_dir = os.environ.get('HOME')
cmake_cmd.append('-DCMAKE_PREFIX_PATH={}/DAGMC/lib'.format(home_dir))
# Build in coverage mode for coverage testing
cmake_cmd.append('-Dcoverage=on')