Skip to content
Snippets Groups Projects
Commit 734afc26 authored by Lars Bilke's avatar Lars Bilke Committed by Dmitri Naumov
Browse files

[cmake] Added Windows PETSc check.

parent 53f26dc2
No related branches found
No related tags found
No related merge requests found
......@@ -92,6 +92,12 @@ option(OGS_BUILD_GUI "Should the Data Explorer be built?" OFF)
option(OGS_INSITU "Builds OGS with insitu visualization capabilities." OFF)
option(OGS_USE_LIS "Use Lis" OFF)
option(OGS_USE_PETSC "Use PETSc routines" OFF)
if(OGS_USE_PETSC AND MSVC)
message(
FATAL_ERROR
"OGS_USE_PETSC=ON is not supported on Windows Visual Studio! Use Linux or macOS."
)
endif()
option(OGS_USE_NETCDF "Add NetCDF support." OFF)
option(OGS_USE_XDMF "Add Xdmf file IO support" OFF)
......
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