This is an automated email from the ASF dual-hosted git repository.

lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/main by this push:
     new e1250f239 chore(ci): fix missing SQLite3::SQLite3 target in 
cpp-static-test (#4276)
e1250f239 is described below

commit e1250f239da7272fc50ae87af3c8d351fbe2b5a2
Author: Bryce Mecum <[email protected]>
AuthorDate: Mon Apr 27 16:19:22 2026 -0700

    chore(ci): fix missing SQLite3::SQLite3 target in cpp-static-test (#4276)
    
    In e44eea5236767f913218319da6e393bb9925a7e5 I changed the SQLite3 target
    for newer cmake but I also needed to update cpp-static-test to handle
    it. The call to `find_depdencny_sqlite(SQLite3)` in
    `AdbcDriverSQLiteConfig.cmake` creates the now-deprecated
    SQLite::SQLite3 target so an alias is needed.
    
    See failing CI:
    
https://github.com/apache/arrow-adbc/actions/runs/25006855596/job/73231969203?pr=4273
---
 c/integration/static_test/CMakeLists.txt | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/c/integration/static_test/CMakeLists.txt 
b/c/integration/static_test/CMakeLists.txt
index 9b2b7fb44..2c99008a6 100644
--- a/c/integration/static_test/CMakeLists.txt
+++ b/c/integration/static_test/CMakeLists.txt
@@ -30,6 +30,12 @@ find_package(AdbcDriverPostgreSQL REQUIRED)
 find_package(AdbcDriverSQLite REQUIRED)
 find_package(AdbcDriverSnowflake REQUIRED)
 
+# Alias SQLite::SQLite3 to SQLite3::SQLite3 if needed. SQLite::SQLite3 is
+# deprecated in CMake < 4.3. See
+# https://cmake.org/cmake/help/latest/module/FindSQLite3.html.
+if(NOT TARGET SQLite3::SQLite3)
+  add_library(SQLite3::SQLite3 ALIAS SQLite::SQLite3)
+endif()
 find_package(fmt REQUIRED)
 find_package(nanoarrow REQUIRED)
 

Reply via email to