From 8b45d7bf8e5cb1a67c77441ffc7ec6acdeed6b35 Mon Sep 17 00:00:00 2001 From: adam Date: Fri, 18 Sep 2009 09:00:49 +0000 Subject: [PATCH] Port new blsurf version on windows --- adm_local/cmake_files/FindBLSURF.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/adm_local/cmake_files/FindBLSURF.cmake b/adm_local/cmake_files/FindBLSURF.cmake index a32112a..1b0f407 100644 --- a/adm_local/cmake_files/FindBLSURF.cmake +++ b/adm_local/cmake_files/FindBLSURF.cmake @@ -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) -- 2.39.2