From 4f3e1587b1c21d19d52b3f652f9b361347e6b862 Mon Sep 17 00:00:00 2001 From: Frederic Bouvier Date: Wed, 15 Aug 2012 23:02:29 +0200 Subject: [PATCH] Restore auto-detection of SVN libs on Windows --- CMakeModules/FindSvnClient.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeModules/FindSvnClient.cmake b/CMakeModules/FindSvnClient.cmake index 5a985c53..d128fc90 100644 --- a/CMakeModules/FindSvnClient.cmake +++ b/CMakeModules/FindSvnClient.cmake @@ -22,7 +22,7 @@ macro(find_static_component comp libs) FIND_LIBRARY(${compLibName} NO_DEFAULT_PATH NAMES ${compLib} - HINTS $ENV{LIBSVN_DIR} ${CMAKE_INSTALL_PREFIX} + HINTS $ENV{LIBSVN_DIR} ${CMAKE_INSTALL_PREFIX} ${MSVC_3RDPARTY_ROOT}/${MSVC_3RDPARTY_DIR}/lib PATH_SUFFIXES lib64 lib libs64 libs libs/Win32 libs/Win64 PATHS /opt/local @@ -55,7 +55,7 @@ if(HAVE_APR_CONFIG OR MSVC) find_path(LIBSVN_INCLUDE_DIR svn_client.h NO_DEFAULT_PATH HINTS - $ENV{LIBSVN_DIR} ${CMAKE_INSTALL_PREFIX} + $ENV{LIBSVN_DIR} ${CMAKE_INSTALL_PREFIX} ${MSVC_3RDPARTY_ROOT}/${MSVC_3RDPARTY_DIR}/include PATH_SUFFIXES include/subversion-1 PATHS /opt/local -- 2.39.5