Skip to content
Snippets Groups Projects
Commit 1421a66d authored by Atkins, Charles Vernon's avatar Atkins, Charles Vernon
Browse files

Fix bad include specification

parent 45334d86
No related branches found
No related tags found
1 merge request!15Fix bad include specification
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
if(ADIOS_USE_MPI) if(ADIOS_USE_MPI)
find_package(MPI COMPONENTS C REQUIRED) find_package(MPI COMPONENTS C REQUIRED)
add_executable(hello_bpWriter helloBPWriter.cpp) add_executable(hello_bpWriter helloBPWriter.cpp)
target_include_directories(hello_bpWriter ${MPI_C_INCLUDE_PATH}) target_include_directories(hello_bpWriter PRIVATE ${MPI_C_INCLUDE_PATH})
target_link_libraries(hello_bpWriter adios2 ${MPI_C_LIBRARIES}) target_link_libraries(hello_bpWriter adios2 ${MPI_C_LIBRARIES})
endif() endif()
......
...@@ -7,7 +7,7 @@ if(ADIOS_USE_MPI) ...@@ -7,7 +7,7 @@ if(ADIOS_USE_MPI)
find_package(MPI COMPONENTS C REQUIRED) find_package(MPI COMPONENTS C REQUIRED)
add_executable(hello_timeBPWriter timeBPWriter.cpp) add_executable(hello_timeBPWriter timeBPWriter.cpp)
target_link_libraries(hello_timeBPWriter adios2) target_link_libraries(hello_timeBPWriter adios2)
target_include_directories(hello_timeBPWriter ${MPI_C_INCLUDE_PATH}) target_include_directories(hello_timeBPWriter PRIVATE ${MPI_C_INCLUDE_PATH})
target_link_libraries(hello_timeBPWriter adios2 ${MPI_C_LIBRARIES}) target_link_libraries(hello_timeBPWriter adios2 ${MPI_C_LIBRARIES})
endif() endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment