SET(_suff)
ENDIF(MACHINE_IS_64)
IF(WIN32)
- SET(_plt WinXP${_suff}_VC9 WinXP${_suff}_VC10)
+ SET(_plt Win7${_suff}_VC9 Win7${_suff}_VC10 WinXP${_suff}_VC9 WinXP${_suff}_VC10)
ELSE()
SET(_plt Linux${_suff})
ENDIF(WIN32)
FIND_LIBRARY(MESHGEMS_TETRA_HPC_LIBRARY NAMES mg-tetra_hpc PATH_SUFFIXES ${_plt})
# TODO: search all components
-IF(MESHGEMS_LIBRARY_meshgems)
- SET(MESHGEMS_LIBRARY_meshgems ${MESHGEMS_LIBRARY_meshgems} ${MESHGEMS_LIB_meshgems_stubs})
+IF(MESHGEMS_LIB_meshgems)
+ SET(MESHGEMS_LIBRARY_meshgems ${MESHGEMS_LIB_meshgems} ${MESHGEMS_LIB_meshgems_stubs})
SET(MESHGEMS_CADSURF_LIBRARY ${MESHGEMS_CADSURF_LIBRARY} ${MESHGEMS_LIBRARY_meshgems})
SET(MESHGEMS_HEXA_LIBRARY ${MESHGEMS_HEXA_LIBRARY} ${MESHGEMS_LIBRARY_meshgems})
SET(MESHGEMS_HYBRID_LIBRARY ${MESHGEMS_HYBRID_LIBRARY} ${MESHGEMS_LIBRARY_meshgems})
SET(MESHGEMS_TETRA_LIBRARY ${MESHGEMS_TETRA_LIBRARY} ${MESHGEMS_LIBRARY_meshgems})
SET(MESHGEMS_TETRA_HPC_LIBRARY ${MESHGEMS_TETRA_HPC_LIBRARY} ${MESHGEMS_LIBRARY_meshgems})
-ENDIF(MESHGEMS_LIBRARY_meshgems)
+ENDIF(MESHGEMS_LIB_meshgems)
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(MESHGEMS REQUIRED_VARS MESHGEMS_INCLUDE_DIRS MESHGEMS_CADSURF_LIBRARY MESHGEMS_HEXA_LIBRARY MESHGEMS_HYBRID_LIBRARY MESHGEMS_TETRA_LIBRARY MESHGEMS_TETRA_HPC_LIBRARY)