mirror of
https://github.com/NGSolve/netgen.git
synced 2025-02-05 01:14:16 +05:00
Set include dir for default (openmpi) mpi wrapper
This commit is contained in:
parent
123e6d1739
commit
17a945f0b4
@ -118,6 +118,7 @@ if(USE_MPI)
|
|||||||
# assume openmpi here
|
# assume openmpi here
|
||||||
add_library(ng_openmpi SHARED ng_mpi.cpp)
|
add_library(ng_openmpi SHARED ng_mpi.cpp)
|
||||||
target_link_libraries(ng_openmpi PUBLIC ngcore)
|
target_link_libraries(ng_openmpi PUBLIC ngcore)
|
||||||
|
target_include_directories(ng_openmpi PRIVATE ${MPI_C_HEADER_DIR})
|
||||||
install(TARGETS ng_openmpi DESTINATION ${NG_INSTALL_DIR} COMPONENT netgen)
|
install(TARGETS ng_openmpi DESTINATION ${NG_INSTALL_DIR} COMPONENT netgen)
|
||||||
|
|
||||||
# set(MPICH_INCLUDE_DIR /opt/mpich/include)
|
# set(MPICH_INCLUDE_DIR /opt/mpich/include)
|
||||||
|
Loading…
Reference in New Issue
Block a user