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)