summaryrefslogtreecommitdiff
path: root/backend/CMakeLists.txt
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-05-20 17:53:57 +0200
committerEugen Wissner <belka@caraus.de>2026-05-20 17:53:57 +0200
commit76985de795f33f71684635ad5f14dc84aefea26e (patch)
treee8aed126b84b4ba3a76cf26fb9720c0f83eac594 /backend/CMakeLists.txt
parentc04278ff84c2c4d9c54bbd43c1542e4eace40419 (diff)
downloadkatja-76985de795f33f71684635ad5f14dc84aefea26e.tar.gz
Fix the backend test
Diffstat (limited to 'backend/CMakeLists.txt')
-rw-r--r--backend/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/backend/CMakeLists.txt b/backend/CMakeLists.txt
index c1153a5..fe2bfbf 100644
--- a/backend/CMakeLists.txt
+++ b/backend/CMakeLists.txt
@@ -4,6 +4,7 @@
find_package(CURL)
find_package(PkgConfig REQUIRED)
+find_package(SQLite3)
pkg_check_modules(deps REQUIRED IMPORTED_TARGET glib-2.0 gio-2.0 bzip2)
add_library(backend)
@@ -15,6 +16,6 @@ target_sources(backend
configure_file(config.h.in ${CMAKE_BINARY_DIR}/generated/config.h)
include_directories(${CMAKE_BINARY_DIR}/generated/)
-target_link_libraries(backend PkgConfig::deps CURL::libcurl)
+target_link_libraries(backend PkgConfig::deps CURL::libcurl ${SQLite3_LIBRARIES})
file(COPY metadata.db DESTINATION ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LOCALSTATEDIR})