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()