]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
Preparing Win64 version
authorana <ana@opencascade.com>
Thu, 28 Feb 2013 14:48:25 +0000 (14:48 +0000)
committerana <ana@opencascade.com>
Thu, 28 Feb 2013 14:48:25 +0000 (14:48 +0000)
adm_local/cmake_files/FindCADSURF.cmake

index 6822a40296b9b7b2b6a2d65439f6226e1a077959..c567a9a40f484ce6b6a7f4d16786bb4a19217d28 100644 (file)
@@ -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})