mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-13 06:30:34 +05:00
Don't require MPI to be found by cmake
This commit is contained in:
parent
61f568d8e9
commit
ee3722e345
@ -338,7 +338,7 @@ endif (USE_PYTHON)
|
|||||||
add_library(netgen_metis INTERFACE)
|
add_library(netgen_metis INTERFACE)
|
||||||
if (USE_MPI)
|
if (USE_MPI)
|
||||||
set(MPI_DETERMINE_LIBRARY_VERSION TRUE)
|
set(MPI_DETERMINE_LIBRARY_VERSION TRUE)
|
||||||
find_package(MPI REQUIRED)
|
find_package(MPI)
|
||||||
|
|
||||||
find_package(METIS REQUIRED)
|
find_package(METIS REQUIRED)
|
||||||
target_include_directories(netgen_metis INTERFACE ${METIS_INCLUDE_DIR})
|
target_include_directories(netgen_metis INTERFACE ${METIS_INCLUDE_DIR})
|
||||||
|
Loading…
Reference in New Issue
Block a user