From: Mathias Froehlich Date: Wed, 14 Sep 2011 15:24:49 +0000 (+0200) Subject: cmake: clear the svn libraries variable if not found. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b3e07077fa0f29f81b4e54a61a5a10bf452b17a7;p=simgear.git cmake: clear the svn libraries variable if not found. --- diff --git a/CMakeModules/FindSvnClient.cmake b/CMakeModules/FindSvnClient.cmake index 22ae0999..15f6ba27 100644 --- a/CMakeModules/FindSvnClient.cmake +++ b/CMakeModules/FindSvnClient.cmake @@ -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)