Teaking FindOpenCascade to help with linking of iges plugin

This commit is contained in:
Robert Osfield 2016-11-30 20:10:22 +00:00
parent a9bc508dc4
commit 43b051b984

View File

@ -50,8 +50,10 @@ MACRO(FIND_OPENCASCADE_LIBRARY MYLIBRARY MYLIBRARYNAME)
/usr/freeware/lib64
)
MESSAGE("#Foundlibrary " ${${MYLIBRARY}})
ENDMACRO()
ENDMACRO(FIND_OPENCASCADE_LIBRARY LIBRARY LIBRARYNAME)
# Find release (optimized) libs
FIND_OPENCASCADE_LIBRARY(OPENCASCADE_TKVRML_LIBRARY TKVrml)
@ -94,7 +96,37 @@ FIND_OPENCASCADE_LIBRARY(OPENCASCADE_TKXLCAF_LIBRARY TKXLCAF)
FIND_OPENCASCADE_LIBRARY(OPENCASCADE_TKLCAF_LIBRARY TKLCAF)
SET(OPENCASCADE_LIBRARY ${OPENCASCADE_TKMESH_LIBRARY})
SET(OPENCASCADE_LIBRARY ${OPENCASCADE_LIBRARY}
# ${OPENCASCADE_TKBREP_LIBRARY}
# ${OPENCASCADE_TKIGES_LIBRARY}
# ${OPENCASCADE_TKSHHEALING_LIBRARY}
# ${OPENCASCADE_TKSTEP_LIBRARY}
# ${OPENCASCADE_TKSTEP209_LIBRARY}
# ${OPENCASCADE_TKSTEPATTR_LIBRARY}
# ${OPENCASCADE_TKSTEPBASE_LIBRARY}
# ${OPENCASCADE_TKXSBASE_LIBRARY}
# ${OPENCASCADE_TKBO_LIBRARY}
# ${OPENCASCADE_TKBOOL_LIBRARY}
# ${OPENCASCADE_TKCAF_LIBRARY}
# ${OPENCASCADE_TKCDF_LIBRARY}
# ${OPENCASCADE_TKERNEL_LIBRARY}
# ${OPENCASCADE_TKFEAT_LIBRARY}
# ${OPENCASCADE_TKFILLET_LIBRARY}
# ${OPENCASCADE_TKG2D_LIBRARY}
# ${OPENCASCADE_TKGEOMALGO_LIBRARY}
# ${OPENCASCADE_TKGEOMBASE_LIBRARY}
# ${OPENCASCADE_TKHLR_LIBRARY}
# ${OPENCASCADE_TKMATH_LIBRARY}
# ${OPENCASCADE_TKOFFSET_LIBRARY}
# ${OPENCASCADE_TKPRIM_LIBRARY}
# ${OPENCASCADE_TKSERVICE_LIBRARY}
# ${OPENCASCADE_TKTOPALGO_LIBRARY}
# ${OPENCASCADE_TKMESH_LIBRARY}
# ${OPENCASCADE_TKV3D_LIBRARY}
# ${OPENCASCADE_TKXCAF_LIBRARY}
${OPENCASCADE_TKXDEIGES_LIBRARY}
# ${OPENCASCADE_TKLCAF_LIBRARY}
)
SET(OPENCASCADE_FOUND "NO")
IF(OPENCASCADE_LIBRARY AND OPENCASCADE_INCLUDE_DIR)