if (MSVC)
find_static_component("apr-1" LIBSVN_LIBRARIES)
else (MSVC)
- list(APPEND LIBSVN_LIBRARIES APR_LIBS)
+ list(APPEND LIBSVN_LIBRARIES ${APR_LIBS})
endif (MSVC)
find_static_component("svn_client-1" LIBSVN_LIBRARIES)
find_static_component("svn_subr-1" LIBSVN_LIBRARIES)
include(FindPackageHandleStandardArgs)
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)