From: ana Date: Thu, 28 Feb 2013 14:48:25 +0000 (+0000) Subject: Preparing Win64 version X-Git-Tag: V6_main_FINAL~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6ac0bb2f38e0b66df1250c52c6fc966f6bc7f29b;p=plugins%2Fblsurfplugin.git Preparing Win64 version --- diff --git a/adm_local/cmake_files/FindCADSURF.cmake b/adm_local/cmake_files/FindCADSURF.cmake index 6822a40..c567a9a 100644 --- a/adm_local/cmake_files/FindCADSURF.cmake +++ b/adm_local/cmake_files/FindCADSURF.cmake @@ -24,14 +24,16 @@ SET(MESHGEMS_CADSURF_INCLUDES ${MESHGEMS_CADSURF_INCLUDES} -I${CADSURF_INCLUDES_ SET(CADSURF_LIBS_PATHS) SET(CADSURF_LIBS_PATHS ${CADSURF_LIBS_PATHS} ${MESHGEMSHOME}/lib) + +SET(suff) +IF(CMAKE_SIZEOF_VOID_P STREQUAL 8) + SET(suff "_64") +ENDIF() + IF(WINDOWS) - SET(CADSURF_LIBS_PATHS ${CADSURF_LIBS_PATHS} ${MESHGEMSHOME}/lib/WinXP_VC9) + SET(CADSURF_LIBS_PATHS ${CADSURF_LIBS_PATHS} ${MESHGEMSHOME}/lib/WinXP${suff}_VC9) ELSE(WINDOWS) - IF(CMAKE_SIZEOF_VOID_P STREQUAL 8) - SET(CADSURF_LIBS_PATHS ${CADSURF_LIBS_PATHS} ${MESHGEMSHOME}/lib/Linux_64) - ELSE() - SET(CADSURF_LIBS_PATHS ${CADSURF_LIBS_PATHS} ${MESHGEMSHOME}/lib/Linux) - ENDIF() + SET(CADSURF_LIBS_PATHS ${CADSURF_LIBS_PATHS} ${MESHGEMSHOME}/lib/Linux${suff}) ENDIF(WINDOWS) FIND_LIBRARY(mg-cadsurf mg-cadsurf PATHS ${CADSURF_LIBS_PATHS})