diff --git a/src/axom/spin/examples/CMakeLists.txt b/src/axom/spin/examples/CMakeLists.txt index 4ecc7b19d0..c53a4f3654 100644 --- a/src/axom/spin/examples/CMakeLists.txt +++ b/src/axom/spin/examples/CMakeLists.txt @@ -22,7 +22,8 @@ blt_add_executable( FOLDER axom/spin/examples ) -if (RAJA_FOUND AND UMPIRE_FOUND) +# Note: The following example uses quest to read in an STL file +if (AXOM_ENABLE_QUEST AND RAJA_FOUND AND UMPIRE_FOUND) blt_add_executable( NAME spin_bvh_two_pass_ex diff --git a/src/axom/spin/examples/spin_bvh_two_pass.cpp b/src/axom/spin/examples/spin_bvh_two_pass.cpp index 8e690aed5a..911953f478 100644 --- a/src/axom/spin/examples/spin_bvh_two_pass.cpp +++ b/src/axom/spin/examples/spin_bvh_two_pass.cpp @@ -27,7 +27,6 @@ namespace mint = axom::mint; namespace primal = axom::primal; namespace spin = axom::spin; namespace slic = axom::slic; -namespace quest = axom::quest; using IndexType = axom::IndexType; using UMesh = mint::UnstructuredMesh; @@ -406,7 +405,7 @@ int main(int argc, char** argv) // Read file SLIC_INFO("Reading file: '" << args.file_name << "'...\n"); { - quest::STLReader reader; + axom::quest::STLReader reader; reader.setFileName(args.file_name); reader.read();