]> git.mxchange.org Git - simgear.git/commitdiff
cmake: clear the svn libraries variable if not found.
authorMathias Froehlich <Mathias.Froehlich@web.de>
Wed, 14 Sep 2011 15:24:49 +0000 (17:24 +0200)
committerMathias Froehlich <Mathias.Froehlich@web.de>
Wed, 14 Sep 2011 15:24:49 +0000 (17:24 +0200)
CMakeModules/FindSvnClient.cmake

index 22ae0999c258ada1fd717e4248dcfb4602dd2f9a..15f6ba27a630dd2c4ff687e0839c76edd1549bdb 100644 (file)
@@ -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)