From b3e07077fa0f29f81b4e54a61a5a10bf452b17a7 Mon Sep 17 00:00:00 2001 From: Mathias Froehlich Date: Wed, 14 Sep 2011 17:24:49 +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 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) -- 2.39.5