diff --git a/CMakeLists.txt b/CMakeLists.txt index f3b34cc16..44719479d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() #=============================================================================== diff --git a/tools/ci/travis-install.py b/tools/ci/travis-install.py index 80c7c42ee..a2b1b6175 100644 --- a/tools/ci/travis-install.py +++ b/tools/ci/travis-install.py @@ -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')