Skip to content
Open
13 changes: 6 additions & 7 deletions ports/netgen/cmake-adjustments.patch
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
diff --git a/libsrc/core/CMakeLists.txt b/libsrc/core/CMakeLists.txt
index c4f4795..cd5ad50 100644
--- a/libsrc/core/CMakeLists.txt
index d91a1bbec2..0d10cc2e85 100644
--- a/libsrc/core/CMakeLists.txt
+++ b/libsrc/core/CMakeLists.txt
@@ -28,8 +28,7 @@ endif(USE_PYTHON)

@@ -35,7 +35,7 @@ endif(USE_PYTHON)
if(WIN32)
target_compile_options(ngcore PUBLIC /bigobj /MP /W1 /wd4068)
- get_WIN32_WINNT(ver)
get_WIN32_WINNT(ver)
- target_compile_definitions(ngcore PUBLIC _WIN32_WINNT=${ver} WNT WNT_WINDOW NOMINMAX MSVC_EXPRESS _CRT_SECURE_NO_WARNINGS HAVE_STRUCT_TIMESPEC WIN32)
+ target_compile_definitions(ngcore PUBLIC WNT WNT_WINDOW NOMINMAX MSVC_EXPRESS _CRT_SECURE_NO_WARNINGS HAVE_STRUCT_TIMESPEC WIN32)
+ target_compile_definitions(ngcore PUBLIC _WIN32_WINNT=${ver} WNT WNT_WINDOW NOMINMAX MSVC_EXPRESS _CRT_SECURE_NO_WARNINGS HAVE_STRUCT_TIMESPEC WIN32 Py_NO_LINK_LIB)
Comment thread
BillyONeal marked this conversation as resolved.
Outdated
target_link_options(ngcore PUBLIC /ignore:4273 /ignore:4217 /ignore:4049)
endif(WIN32)

7 changes: 6 additions & 1 deletion ports/netgen/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "netgen",
"version": "6.2.2401",
"port-version": 2,
"port-version": 3,
"description": "NETGEN is an automatic 3d tetrahedral mesh generator. It accepts input from constructive solid geometry (CSG) or boundary representation (BRep) from STL file format. The connection to a geometry kernel allows the handling of IGES and STEP files. NETGEN contains modules for mesh optimization and hierarchical mesh refinement.",
"homepage": "https://ngsolve.org/",
"license": "LGPL-2.1-or-later",
Expand Down Expand Up @@ -53,6 +53,11 @@
"occ": {
"description": "build with OpenCascade geometry kernel interface",
"dependencies": [
{
"name": "fontconfig",
"default-features": false,
"platform": "!windows & !osx"
},
{
"name": "opencascade",
"default-features": false
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6946,7 +6946,7 @@
},
"netgen": {
"baseline": "6.2.2401",
"port-version": 2
"port-version": 3
},
"nethost": {
"baseline": "8.0.3",
Expand Down
5 changes: 5 additions & 0 deletions versions/n-/netgen.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "5ca6c882ad036bdb721a2334719af9e9ba4ba307",
"version": "6.2.2401",
"port-version": 3
},
{
"git-tree": "63e8a8e2e8c3eaa03617cb6e42e6fc82fae9dc94",
"version": "6.2.2401",
Expand Down
Loading