]> git.mxchange.org Git - simgear.git/blobdiff - CMakeModules/FindSvnClient.cmake
hla: Add propper attribute dirty handling.
[simgear.git] / CMakeModules / FindSvnClient.cmake
index f5b567741e7d3464f346429ad68a316ae4d06ab3..15f6ba27a630dd2c4ff687e0839c76edd1549bdb 100644 (file)
@@ -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)