1
0
Fork 0

Restore auto-detection of SVN libs on Windows

This commit is contained in:
Frederic Bouvier 2012-08-13 22:15:53 +02:00
parent ec73c62da5
commit 1666ea8286

View file

@ -22,7 +22,7 @@ macro(find_static_component comp libs)
FIND_LIBRARY(${compLibName} FIND_LIBRARY(${compLibName}
NO_DEFAULT_PATH NO_DEFAULT_PATH
NAMES ${compLib} 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 PATH_SUFFIXES lib64 lib libs64 libs libs/Win32 libs/Win64
PATHS PATHS
/opt/local /opt/local
@ -55,7 +55,7 @@ if(HAVE_APR_CONFIG OR MSVC)
find_path(LIBSVN_INCLUDE_DIR svn_client.h find_path(LIBSVN_INCLUDE_DIR svn_client.h
NO_DEFAULT_PATH NO_DEFAULT_PATH
HINTS HINTS
$ENV{LIBSVN_DIR} ${CMAKE_INSTALL_PREFIX} $ENV{LIBSVN_DIR} ${CMAKE_INSTALL_PREFIX} ${MSVC_3RDPARTY_ROOT}/${MSVC_3RDPARTY_DIR}/lib
PATH_SUFFIXES include/subversion-1 PATH_SUFFIXES include/subversion-1
PATHS PATHS
/opt/local /opt/local