math/deal.ii: support of OpenCascade 7.8.0
PR: 277317 Approved by: yuri (maintainer)
This commit is contained in:
parent
7204a27e23
commit
3c47a75b49
2 changed files with 28 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
PORTNAME= deal.II
|
||||
DISTVERSION= 9.5.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= https://github.com/dealii/dealii/releases/download/v${DISTVERSION}/
|
||||
DISTNAME= dealii-${DISTVERSION}
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
--- cmake/modules/FindDEAL_II_OPENCASCADE.cmake.orig 2024-02-01 02:26:09 UTC
|
||||
+++ cmake/modules/FindDEAL_II_OPENCASCADE.cmake
|
||||
@@ -67,11 +67,19 @@ endif()
|
||||
endif()
|
||||
|
||||
# These seem to be pretty much the only required ones.
|
||||
-set(_opencascade_libraries
|
||||
- TKBO TKBool TKBRep TKernel TKFeat TKFillet TKG2d TKG3d TKGeomAlgo
|
||||
- TKGeomBase TKHLR TKIGES TKMath TKMesh TKOffset TKPrim TKShHealing TKSTEP
|
||||
- TKSTEPAttr TKSTEPBase TKSTEP209 TKSTL TKTopAlgo TKXSBase
|
||||
- )
|
||||
+if(OPENCASCADE_VERSION AND OPENCASCADE_VERSION VERSION_GREATER_EQUAL "7.8.0")
|
||||
+ set(_opencascade_libraries
|
||||
+ TKBO TKBool TKBRep TKernel TKFeat TKFillet TKG2d TKG3d TKGeomAlgo
|
||||
+ TKGeomBase TKHLR TKDEIGES TKMath TKMesh TKOffset TKPrim TKShHealing TKDESTEP
|
||||
+ TKDESTL TKTopAlgo TKXSBase
|
||||
+ )
|
||||
+ else()
|
||||
+ set(_opencascade_libraries
|
||||
+ TKBO TKBool TKBRep TKernel TKFeat TKFillet TKG2d TKG3d TKGeomAlgo
|
||||
+ TKGeomBase TKHLR TKIGES TKMath TKMesh TKOffset TKPrim TKShHealing TKSTEP
|
||||
+ TKSTEPAttr TKSTEPBase TKSTEP209 TKSTL TKTopAlgo TKXSBase
|
||||
+ )
|
||||
+endif()
|
||||
|
||||
set(_libraries "")
|
||||
foreach(_library ${_opencascade_libraries})
|
Loading…
Reference in a new issue