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)