message: Add ADIOS1 dependency directly to an example's CMakeLists.txt
diff: @@ -10,12 +10,19 @@ if(ADIOS_USE_MPI)
  target_include_directories(heatTransfer_adios PRIVATE ${MPI_C_INCLUDE_PATH})
  target_link_libraries(heatTransfer_adios adios2 ${MPI_C_LIBRARIES})
  else(ADIOS_USE_MPI)
  - add_executable(heatTransfer_adios main.cpp HeatTransfer.cpp Settings.cpp IO_adios2.cpp)
  target_link_libraries(heatTransfer_adios adios2)
  endif()
  if(ADIOS_USE_ADIOS1)
  + find_package(ADIOS1 REQUIRED)
  add_executable(heatTransfer_adios1 main.cpp HeatTransfer.cpp Settings.cpp IO_adios1.cpp)
  + if(ADIOS_USE_MPI)
  + target_include_directories(heatTransfer_adios1 PRIVATE ${MPI_C_INCLUDE_PATH})
  + target_link_libraries(heatTransfer_adios1 adios1::adios ${MPI_C_LIBRARIES})
  + else(ADIOS_USE_MPI)
  + target_compile_definitions(heatTransfer_adios1 PRIVATE -D_NOMPI)
  + target_link_libraries(heatTransfer_adios1 adios1::adios)
  + endif()
  endif()
  #add_subdirectory(read)
  