cmake: clear the svn libraries variable if not found.
This commit is contained in:
parent
f7cee2ed56
commit
b3e07077fa
@ -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 New Issue
Block a user