svn commit: r1919163 - /subversion/branches/cmake/CMakeLists.txt

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <[email protected]>
Author: rinrab
Date: Fri Jul 12 14:14:19 2024
New Revision: 1919163

URL: http://svn.apache.org/viewvc?rev=1919163&view=rev
Log:
On the 'cmake' branch: Follow-up to r1919150: Find for serf dependency after
SQLite; it was between two block related to SQLite dependency.

* CMakeLists.txt: Fix dependency sequence.

Modified:
    subversion/branches/cmake/CMakeLists.txt

Modified: subversion/branches/cmake/CMakeLists.txt
URL: http://svn.apache.org/viewvc/subversion/branches/cmake/CMakeLists.txt?rev=1919163&r1=1919162&r2=1919163&view=diff
==============================================================================
--- subversion/branches/cmake/CMakeLists.txt (original)
+++ subversion/branches/cmake/CMakeLists.txt Fri Jul 12 14:14:19 2024
@@ -197,12 +197,6 @@ set(SVN_SQLITE_AMALGAMATION_ROOT "${CMAK
   CACHE STRING "Directory with sqlite amalgamation"
 )
 
-### Serf
-if (SVN_BUILD_RA_SERF)
-  find_package(Serf REQUIRED)
-  add_library(external-serf ALIAS Serf::Serf)
-endif()
-
 if(SVN_SQLITE_USE_AMALGAMATION)
   add_library(external-sqlite INTERFACE)
   find_path(SVN_SQLITE_AMALGAMATION_DIR
@@ -228,6 +222,12 @@ else()
   add_library(external-sqlite ALIAS SQLite::SQLite3)
 endif()
 
+### Serf
+if (SVN_BUILD_RA_SERF)
+  find_package(Serf REQUIRED)
+  add_library(external-serf ALIAS Serf::Serf)
+endif()
+
 find_package(Python COMPONENTS Interpreter REQUIRED)
 
 function(target_exports target_name)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.