Files
jadb/nix/fts5-icu-tokenizer/0001-provide-sqlite-externally.patch
oysteikt efda41a526
Build and test / build (push) Failing after 14m2s
WIP
2026-05-06 01:39:04 +09:00

21 lines
540 B
Diff

diff --git i/CMakeLists.txt w/CMakeLists.txt
index 9d99543..11ce4a4 100644
--- i/CMakeLists.txt
+++ w/CMakeLists.txt
@@ -131,6 +131,15 @@ if(NOT SQLite3_FOUND)
endif()
endif()
+if(SQLite3_FOUND AND NOT TARGET SQLite3::SQLite3)
+ add_library(SQLite3::SQLite3 UNKNOWN IMPORTED)
+
+ set_target_properties(SQLite3::SQLite3 PROPERTIES
+ IMPORTED_LOCATION "${SQLite3_LIBRARIES}"
+ INTERFACE_INCLUDE_DIRECTORIES "${SQLite3_INCLUDE_DIRS}"
+ )
+endif()
+
# --- Configure the Library ---
# Select source files based on API version