]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add support for OpenCascade 7.8.0 16738/head
authorThierry Thomas <thierry@FreeBSD.org>
Fri, 8 Mar 2024 22:22:09 +0000 (23:22 +0100)
committerThierry Thomas <thierry@FreeBSD.org>
Sat, 9 Mar 2024 10:15:41 +0000 (11:15 +0100)
cmake/modules/FindDEAL_II_OPENCASCADE.cmake

index a0aa3b023ff6a534675486ca5bc679b16c71f57f..4a07a382386c7100de82da8e8c41bc56a41011b7 100644 (file)
@@ -66,17 +66,18 @@ if(EXISTS ${OPENCASCADE_INCLUDE_DIR}/Standard_Version.hxx)
 endif()
 
 # These seem to be pretty much the only required ones.
-if(OPENCASCADE_VERSION AND OPENCASCADE_VERSION VERSION_GREATER_EQUAL "7.8.0")
-  set(_opencascade_libraries
+set(_opencascade_libraries
     TKBO TKBool TKBRep TKernel TKFeat TKFillet TKG2d TKG3d TKGeomAlgo
-    TKGeomBase TKHLR TKDEIGES TKMath TKMesh TKOffset TKPrim TKShHealing TKDESTEP
-    TKDESTL TKTopAlgo TKXSBase
+    TKGeomBase TKHLR TKMath TKMesh TKOffset TKPrim TKShHealing
+    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
+if(OPENCASCADE_VERSION AND OPENCASCADE_VERSION VERSION_GREATER_EQUAL "7.8.0")
+  list(APPEND _opencascade_libraries
+    TKiDEIGES TKDESTEP TKDESTL
+    )
+else()
+  list(APPEND _opencascade_libraries
+    TKIGES TKSTEP TKSTEPAttr TKSTEPBase TKSTEP209 TKSTL
     )
 endif()
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.