X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=CMakeModules%2FFindSvnClient.cmake;h=15f6ba27a630dd2c4ff687e0839c76edd1549bdb;hb=33970663435dd1a12941b017739285341205acf4;hp=f5b567741e7d3464f346429ad68a316ae4d06ab3;hpb=c37b9c95e69fb795a4e22b0ad5aece1bd3082c83;p=simgear.git diff --git a/CMakeModules/FindSvnClient.cmake b/CMakeModules/FindSvnClient.cmake index f5b56774..15f6ba27 100644 --- a/CMakeModules/FindSvnClient.cmake +++ b/CMakeModules/FindSvnClient.cmake @@ -62,7 +62,7 @@ if(HAVE_APR_CONFIG OR MSVC) 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) @@ -70,4 +70,7 @@ if(HAVE_APR_CONFIG OR MSVC) 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)