]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
Porting to DISTENE MeshGems suite
authorvsr <vsr@opencascade.com>
Tue, 23 Oct 2012 08:28:55 +0000 (08:28 +0000)
committervsr <vsr@opencascade.com>
Tue, 23 Oct 2012 08:28:55 +0000 (08:28 +0000)
adm_local/cmake_files/FindCADSURF.cmake

index 1954cb732e610e22ae4544199068bd6c0b3b05fd..6822a40296b9b7b2b6a2d65439f6226e1a077959 100644 (file)
@@ -19,8 +19,8 @@
 
 SET(MESHGEMSHOME $ENV{MESHGEMSHOME})
 FIND_PATH(CADSURF_INCLUDES_DIR meshgems/cadsurf.h ${MESHGEMSHOME}/include)
-SET(CADSURF_INCLUDES)
-SET(CADSURF_INCLUDES ${CADSURF_INCLUDES} -I${CADSURF_INCLUDES_DIR})
+SET(MESHGEMS_CADSURF_INCLUDES)
+SET(MESHGEMS_CADSURF_INCLUDES ${MESHGEMS_CADSURF_INCLUDES} -I${CADSURF_INCLUDES_DIR})
 
 SET(CADSURF_LIBS_PATHS)
 SET(CADSURF_LIBS_PATHS ${CADSURF_LIBS_PATHS} ${MESHGEMSHOME}/lib)
@@ -38,9 +38,9 @@ FIND_LIBRARY(mg-cadsurf mg-cadsurf PATHS ${CADSURF_LIBS_PATHS})
 FIND_LIBRARY(mg-precad mg-precad PATHS ${CADSURF_LIBS_PATHS})
 FIND_LIBRARY(meshgems meshgems PATHS ${CADSURF_LIBS_PATHS})
 
-SET(CADSURF_LIBS)
-SET(CADSURF_LIBS ${CADSURF_LIBS} ${mg-cadsurf})
-SET(CADSURF_LIBS ${CADSURF_LIBS} ${mg-precad})
+SET(MESHGEMS_CADSURF_LIBS)
+SET(MESHGEMS_CADSURF_LIBS ${MESHGEMS_CADSURF_LIBS} ${mg-cadsurf})
+SET(MESHGEMS_CADSURF_LIBS ${MESHGEMS_CADSURF_LIBS} ${mg-precad})
 IF(meshgems)
-  SET(CADSURF_LIBS ${CADSURF_LIBS} ${meshgems})
+  SET(MESHGEMS_CADSURF_LIBS ${MESHGEMS_CADSURF_LIBS} ${meshgems})
 ENDIF(meshgems)