cmake: clear the svn libraries variable if not found.

This commit is contained in:
Mathias Froehlich 2011-09-14 17:24:49 +02:00
parent f7cee2ed56
commit b3e07077fa

View File

@ -70,4 +70,7 @@ if(HAVE_APR_CONFIG OR MSVC)
include(FindPackageHandleStandardArgs) include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(LIBSVN DEFAULT_MSG LIBSVN_LIBRARIES LIBSVN_INCLUDE_DIR) FIND_PACKAGE_HANDLE_STANDARD_ARGS(LIBSVN DEFAULT_MSG LIBSVN_LIBRARIES LIBSVN_INCLUDE_DIR)
if(NOT LIBSVN_FOUND)
set(LIBSVN_LIBRARIES "")
endif(NOT LIBSVN_FOUND)
endif(HAVE_APR_CONFIG OR MSVC) endif(HAVE_APR_CONFIG OR MSVC)