Skip to content
Snippets Groups Projects
Verified Commit ca5825eb authored by Tom Fischer's avatar Tom Fischer Committed by Lars Bilke
Browse files

[A/U/SimpleMeshCreation] Disable build of non-MPI tools in MPI config.

parent de5cc63b
No related branches found
No related tags found
No related merge requests found
set(TOOLS generateStructuredMesh) if(NOT OGS_USE_MPI)
if(OGS_BUILD_GUI) set(TOOLS generateStructuredMesh)
list(APPEND TOOLS createMeshElemPropertiesFromASCRaster) if(OGS_BUILD_GUI)
endif() list(APPEND TOOLS createMeshElemPropertiesFromASCRaster)
endif()
foreach(tool ${TOOLS}) foreach(tool ${TOOLS})
ogs_add_executable(${tool} ${tool}.cpp) ogs_add_executable(${tool} ${tool}.cpp)
target_link_libraries(${tool} ApplicationsFileIO GitInfoLib MeshLib tclap) target_link_libraries(${tool} ApplicationsFileIO GitInfoLib MeshLib tclap)
endforeach() endforeach()
install(TARGETS ${TOOLS} RUNTIME DESTINATION bin) install(TARGETS ${TOOLS} RUNTIME DESTINATION bin)
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