cmake: clear the svn libraries variable if not found.
This commit is contained in:
parent
9cef27f5ca
commit
633b07dedc
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue