Skip to content

Commit

Permalink
Couple of minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
scottwittenburg committed Oct 11, 2017
1 parent 2e34540 commit fe003ed
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
11 changes: 5 additions & 6 deletions examples/hello/bpWriter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
if(ADIOS2_HAVE_MPI)
add_executable(hello_bpWriter helloBPWriter.cpp)
target_link_libraries(hello_bpWriter MPI::MPI_C)

add_executable(hello_bpWriter_c helloBPWriter.c)
target_link_libraries(hello_bpWriter_c MPI::MPI_C)

if(ADIOS2_HAVE_Fortran)
add_executable(hello_bpWriter_f helloBPWriter.f90)
target_link_libraries(hello_bpWriter_f MPI::MPI_Fortran adios2_f)
endif()

else()
add_executable(hello_bpWriter helloBPWriter_nompi.cpp)
add_executable(hello_bpWriter_c helloBPWriter_nompi.c)
Expand All @@ -28,8 +28,7 @@ endif()
target_link_libraries(hello_bpWriter adios2)
target_link_libraries(hello_bpWriter_c adios2)


if(ADIOS2_HAVE_Python)
if(ADIOS2_HAVE_Python)
add_executable(examplePythonPlugin examplePythonPlugin.cpp)
target_link_libraries(examplePythonPlugin PUBLIC adios2)
endif()
endif()
2 changes: 1 addition & 1 deletion source/adios2/core/Engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,4 +178,4 @@ void Engine::ThrowUp(const std::string function) const
ADIOS2_FOREACH_TYPE_1ARG(declare_template_instantiation)
#undef declare_template_instantiation

} // end namespace adios
} // end namespace adios2
2 changes: 1 addition & 1 deletion source/adios2/engine/pyengine/PythonEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@ class PythonEngine : public Engine
std::unique_ptr<Impl> m_Impl;
};

} // end namespace adios
} // end namespace adios2

#endif /* ADIOS2_ENGINE_PYENGINE_PYTHONENGINE_H_ */

0 comments on commit fe003ed

Please sign in to comment.