]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
Port new blsurf version on windows
authoradam <adam>
Fri, 18 Sep 2009 09:00:49 +0000 (09:00 +0000)
committeradam <adam>
Fri, 18 Sep 2009 09:00:49 +0000 (09:00 +0000)
adm_local/cmake_files/FindBLSURF.cmake

index a32112a60391eba9262d543934e701bbfd8f6548..1b0f407a8c935cb335970c42a80a771dea594719 100644 (file)
@@ -25,7 +25,11 @@ FIND_PATH(BLSURF_INCLUDES_DIR distene/blsurf.h ${BLSURFHOME}/include)
 SET(BLSURF_INCLUDES)
 SET(BLSURF_INCLUDES ${BLSURF_INCLUDES} -I${BLSURF_INCLUDES_DIR})
 
-FIND_LIBRARY(BLSurf BLSurf ${BLSURFHOME}/lib)
+FIND_LIBRARY(BLSurf BLSurf PATHS ${BLSURFHOME}/lib ${BLSURFHOME}/lib/WinXP_VC9)
+FIND_LIBRARY(distene distene PATHS ${BLSURFHOME}/lib ${BLSURFHOME}/lib/WinXP_VC9)
 
 SET(BLSURF_LIBS)
 SET(BLSURF_LIBS ${BLSURF_LIBS} ${BLSurf})
+IF(distene)
+  SET(BLSURF_LIBS ${BLSURF_LIBS} ${distene})
+ENDIF(distene)