Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion c/driver/sqlite/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@

find_package(SQLite3)
if(SQLite3_FOUND)
set(SQLite3_LINK_LIBRARIES SQLite::SQLite3)
# SQLite::SQLite3 is deprecated in newer cmake. Alias to support 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()
set(SQLite3_LINK_LIBRARIES SQLite3::SQLite3)
else()
# vcpkg
find_package(unofficial-sqlite3 CONFIG REQUIRED)
Expand Down
2 changes: 1 addition & 1 deletion c/integration/static_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ target_link_libraries(static_test
AdbcDriverPostgreSQL::adbc_driver_postgresql_static
AdbcDriverSQLite::adbc_driver_sqlite_static
PostgreSQL::PostgreSQL
SQLite::SQLite3
SQLite3::SQLite3
fmt::fmt
nanoarrow::nanoarrow
AdbcDriverCommon::adbc_driver_common
Expand Down
Loading