From 6338a8ae19b1603434657e2a39929a6e48e3a44e Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Wed, 8 Apr 2020 09:36:18 -0500 Subject: [PATCH] Apply suggestions from code review Co-Authored-By: Paul Romano --- CMakeLists.txt | 2 +- tools/ci/travis-install.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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')