From 633b07dedc28cd6ff482e9c94d42ae2968b31e15 Mon Sep 17 00:00:00 2001 From: Mathias Froehlich Date: Wed, 14 Sep 2011 09:57:57 +0200 Subject: [PATCH] cmake: clear the svn libraries variable if not found. --- CMakeModules/FindSvnClient.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeModules/FindSvnClient.cmake b/CMakeModules/FindSvnClient.cmake index 22ae0999c..15f6ba27a 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)