diff options
Diffstat (limited to 'ports/libmesh')
| -rw-r--r-- | ports/libmesh/CONTROL | 2 | ||||
| -rw-r--r-- | ports/libmesh/portfile.cmake | 13 |
2 files changed, 11 insertions, 4 deletions
diff --git a/ports/libmesh/CONTROL b/ports/libmesh/CONTROL index f0efea8fc..0350119c2 100644 --- a/ports/libmesh/CONTROL +++ b/ports/libmesh/CONTROL @@ -1,4 +1,4 @@ Source: libmesh -Version: 1.5.0 +Version: 1.5.0-1 Homepage: https://github.com/libMesh/libmesh Description: The libMesh library provides a framework for the numerical simulation of partial differential equations using arbitrary unstructured discretizations on serial and parallel platforms. A major goal of the library is to provide support for adaptive mesh refinement (AMR) computations in parallel while allowing a research scientist to focus on the physics they are modeling. diff --git a/ports/libmesh/portfile.cmake b/ports/libmesh/portfile.cmake index 97a86436d..9a16dbf98 100644 --- a/ports/libmesh/portfile.cmake +++ b/ports/libmesh/portfile.cmake @@ -1,5 +1,3 @@ -vcpkg_fail_port_install(MESSAGE "${PORT} currently only supports Linux platform" ON_TARGET "Windows") - vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO libMesh/libmesh @@ -8,9 +6,18 @@ vcpkg_from_github( HEAD_REF master ) +if(VCPKG_TARGET_IS_WINDOWS) + set(OPTIONS --disable-qhull ) +endif() +# There a lot of configure options in this port which are not yet correctly handled by VCPKG +# To only mention two: +# --enable-vtk-required Error if VTK is not detected by configure +# --enable-capnp-required Error if Cap'n Proto support is not detected by +# but there are a lot more which need to be checked/fixed +# So this port can only be considered a Work In Progress vcpkg_configure_make( SOURCE_PATH ${SOURCE_PATH} - PREFER_NINJA + OPTIONS ${OPTIONS} ) vcpkg_install_make() |
