Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
science/elmerfem: support opencascade-7.8.0
PR: 277307
- Loading branch information
1 parent
70f1baf
commit d0646a9
Showing
2 changed files
with
19 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- ElmerGUI/CMakeLists.txt.orig 2020-11-10 19:52:44 UTC | ||
+++ ElmerGUI/CMakeLists.txt | ||
@@ -83,7 +83,11 @@ IF(WITH_OCC) | ||
MESSAGE(STATUS " [ElmerGUI] OCE_VERSION: " ${OCE_VERSION}) | ||
MESSAGE(STATUS " [ElmerGUI] OCE_INCLUDE_DIRS: " ${OCE_INCLUDE_DIRS}) | ||
ENDIF() | ||
- SET(ELMER_OCC_LIBS "TKernel;TKMath;TKG3d;TKG2d;TKBRep;TKSTEP;TKMesh;TKIGES;TKG2d;TKGeomBase;TKBool;TKBO;TKGeomAlgo;TKPrim;TKShHealing;TKSTEP209;TKSTEPAttr;TKSTEPBase;TKTopAlgo;TKXSBase" CACHE INTERNAL "") | ||
+ IF(OCE_VERSION AND OCE_VERSION VERSION_GREATER_EQUAL "7.8.0") | ||
+ SET(ELMER_OCC_LIBS "TKernel;TKMath;TKG3d;TKG2d;TKBRep;TKDESTEP;TKMesh;TKDEIGES;TKG2d;TKGeomBase;TKBool;TKBO;TKGeomAlgo;TKPrim;TKShHealing;TKTopAlgo;TKXSBase" CACHE INTERNAL "") | ||
+ ELSE() | ||
+ SET(ELMER_OCC_LIBS "TKernel;TKMath;TKG3d;TKG2d;TKBRep;TKSTEP;TKMesh;TKIGES;TKG2d;TKGeomBase;TKBool;TKBO;TKGeomAlgo;TKPrim;TKShHealing;TKSTEP209;TKSTEPAttr;TKSTEPBase;TKTopAlgo;TKXSBase" CACHE INTERNAL "") | ||
+ ENDIF() | ||
MESSAGE(STATUS " [ElmerGUI] ELMER_OCC_LIBS: " "${ELMER_OCC_LIBS}") | ||
MESSAGE(STATUS "------------------------------------------------") | ||
ENDIF() |