message: Cleanup cmake file
diff: set(inlet_examples
  nested_structs.cpp )
  -blt_list_append( TO inlet_examples ELEMENTS
  +blt_list_append(
  + TO
  + inlet_examples
  + ELEMENTS
  arrays.cpp
  documentation_generation.cpp
  fields.cpp
  @@ -21,9 +24,14 @@ blt_list_append( TO inlet_examples ELEMENTS
  tables.cpp
  user_defined_type.cpp
  verification.cpp
  - IF SOL_FOUND )
  + IF
  + SOL_FOUND )
  +
  +#------------------------------------------------------------------------------
  # Build each executable example
  +#------------------------------------------------------------------------------
  +
  foreach(example ${inlet_examples})
  get_filename_component( ex_name ${example} NAME_WE )
  blt_add_executable( NAME inlet_${ex_name}_ex
  @@ -33,7 +41,19 @@ foreach(example ${inlet_examples})
  FOLDER axom/inlet/examples )
  endforeach()
  +if (SOL_FOUND AND MFEM_FOUND)
  + blt_add_executable( NAME inlet_mfem_coefficient_ex
  + SOURCES mfem_coefficient.cpp
  + OUTPUT_DIR ${EXAMPLE_OUTPUT_DIRECTORY}
  + DEPENDS_ON inlet mfem
  + FOLDER axom/inlet/examples )
  +endif()
  +
  +
  +#------------------------------------------------------------------------------
  # Add examples as tests
  +#------------------------------------------------------------------------------
  +
  axom_add_test( NAME inlet_nested_structs_ex
  COMMAND inlet_nested_structs_ex )
  @@ -60,11 +80,6 @@ if (SOL_FOUND)
  COMMAND inlet_verification_ex )
  if (MFEM_FOUND)
  - blt_add_executable( NAME inlet_mfem_coefficient_ex
  - SOURCES mfem_coefficient.cpp
  - OUTPUT_DIR ${EXAMPLE_OUTPUT_DIRECTORY}
  - DEPENDS_ON inlet mfem
  - FOLDER axom/inlet/examples )
  axom_add_test( NAME inlet_mfem_coefficient_ex
  COMMAND inlet_mfem_coefficient_ex --file ${CMAKE_CURRENT_LIST_DIR}/mfem_coef.lua)
  endif()
  