Skip to content
Snippets Groups Projects
Commit facacbf0 authored by Tom Fischer's avatar Tom Fischer
Browse files

[A/U/ModelPreparation] Activate tool only if OGS_USE_MPI is set.

parent 0e1f97a6
No related branches found
No related tags found
No related merge requests found
if(OGS_USE_MPI)
if (OGS_USE_MPI)
ogs_add_executable(
binaryToPVTU BinaryToPVTU.cpp NodeWiseMeshPartitioner.cpp
)
target_link_libraries(
binaryToPVTU
GitInfoLib
MeshLib
tclap
$<$<TARGET_EXISTS:MPI::MPI_CXX>:MPI::MPI_CXX>
)
install(TARGETS binaryToPVTU RUNTIME DESTINATION bin)
return()
endif()
......@@ -15,16 +27,4 @@ ogs_add_executable(
)
target_link_libraries(partmesh GitInfoLib MeshLib tclap)
add_dependencies(partmesh mpmetis)
ogs_add_executable(
binaryToVTU BinaryToVTU.cpp NodeWiseMeshPartitioner.cpp
)
target_link_libraries(
binaryToVTU
GitInfoLib
MeshLib
tclap
$<$<TARGET_EXISTS:MPI::MPI_CXX>:MPI::MPI_CXX>
)
install(TARGETS partmesh RUNTIME DESTINATION bin)
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