mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
Opencascade 7.8.0 compatibility
This commit is contained in:
parent
e5513d9417
commit
afb2f2f0ea
@ -375,28 +375,34 @@ if (USE_OCC)
|
||||
TKGeomAlgo
|
||||
TKGeomBase
|
||||
TKHLR
|
||||
TKIGES
|
||||
TKLCAF
|
||||
TKMath
|
||||
TKMesh
|
||||
TKOffset
|
||||
TKPrim
|
||||
TKSTEP
|
||||
TKSTEP209
|
||||
TKSTEPAttr
|
||||
TKSTEPBase
|
||||
TKSTL
|
||||
TKService
|
||||
TKShHealing
|
||||
TKTopAlgo
|
||||
TKV3d
|
||||
TKVCAF
|
||||
TKXCAF
|
||||
TKXDEIGES
|
||||
TKXDESTEP
|
||||
TKXSBase
|
||||
TKernel
|
||||
)
|
||||
if(${OpenCASCADE_MAJOR_VERSION}.${OpenCASCADE_MINOR_VERSION} VERSION_GREATER_EQUAL 7.8)
|
||||
list(APPEND OCC_LIBRARIES TKDEIGES TKDESTEP TKDESTL)
|
||||
else()
|
||||
list(APPEND OCC_LIBRARIES
|
||||
TKIGES
|
||||
TKSTEP
|
||||
TKSTL
|
||||
TKXDEIGES
|
||||
TKXDESTEP
|
||||
TKSTEP209
|
||||
TKSTEPAttr
|
||||
TKSTEPBase
|
||||
)
|
||||
endif()
|
||||
if(UNIX AND NOT APPLE)
|
||||
list(PREPEND OCC_LIBRARIES -Wl,--start-group)
|
||||
list(APPEND OCC_LIBRARIES -Wl,--end-group)
|
||||
|
@ -89,8 +89,10 @@ if(BUILD_OCC)
|
||||
set(OCC_DIR ${CMAKE_CURRENT_BINARY_DIR}/dependencies/occ)
|
||||
|
||||
ExternalProject_Add(project_occ
|
||||
URL https://github.com/Open-Cascade-SAS/OCCT/archive/refs/tags/V7_6_3.zip
|
||||
URL_MD5 2426e373903faabbd4f96a01a934b66d
|
||||
# URL https://github.com/Open-Cascade-SAS/OCCT/archive/refs/tags/V7_6_3.zip
|
||||
# URL_MD5 2426e373903faabbd4f96a01a934b66d
|
||||
URL https://github.com/Open-Cascade-SAS/OCCT/archive/refs/tags/V7_8_0.zip
|
||||
URL_MD5 19d025bf6b4f6ba1b334d189529573cb
|
||||
DOWNLOAD_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external_dependencies
|
||||
${SUBPROJECT_ARGS}
|
||||
CMAKE_ARGS
|
||||
|
@ -29,7 +29,6 @@
|
||||
#if OCC_VERSION_HEX < 0x070000
|
||||
#else
|
||||
#include <TopTools_ShapeMapHasher.hxx>
|
||||
#include <TopTools_OrientedShapeMapHasher.hxx>
|
||||
#include <TopTools_MapOfOrientedShape.hxx>
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user