mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 22:00:33 +05:00
Only build Metis on Unix platforms
This commit is contained in:
parent
612cd79aa0
commit
9c42c734cf
@ -108,11 +108,15 @@ endif(USE_GUI)
|
|||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
if(USE_MPI)
|
if(USE_MPI)
|
||||||
|
if(UNIX)
|
||||||
find_package(METIS QUIET)
|
find_package(METIS QUIET)
|
||||||
if(NOT METIS_FOUND)
|
if(NOT METIS_FOUND)
|
||||||
message(STATUS "Could not find METIS, it will be built from source")
|
message(STATUS "Could not find METIS, it will be built from source")
|
||||||
include(cmake/external_projects/metis.cmake)
|
include(cmake/external_projects/metis.cmake)
|
||||||
endif()
|
endif()
|
||||||
|
else(UNIX)
|
||||||
|
find_package(METIS REQUIRED)
|
||||||
|
endif(UNIX)
|
||||||
endif(USE_MPI)
|
endif(USE_MPI)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user