summaryrefslogtreecommitdiff
path: root/backend/CMakeLists.txt
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-06-12 13:30:37 +0200
committerEugen Wissner <belka@caraus.de>2026-06-12 13:30:37 +0200
commit1e12f2af8b9ec50144421d998e98e4809071e118 (patch)
treea7297fe136afac55d55a0c19eaaa2242b5001097 /backend/CMakeLists.txt
parent76985de795f33f71684635ad5f14dc84aefea26e (diff)
downloadkatja-1e12f2af8b9ec50144421d998e98e4809071e118.tar.gz
Replace allocations with RAII in pkgtools.cpp
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 fe2bfbf..4c5a123 100644
--- a/backend/CMakeLists.txt
+++ b/backend/CMakeLists.txt
@@ -5,6 +5,7 @@
find_package(CURL)
find_package(PkgConfig REQUIRED)
find_package(SQLite3)
+find_package(Boost REQUIRED COMPONENTS filesystem process)
pkg_check_modules(deps REQUIRED IMPORTED_TARGET glib-2.0 gio-2.0 bzip2)
add_library(backend)
@@ -16,6 +17,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 ${SQLite3_LIBRARIES})
+target_link_libraries(backend PkgConfig::deps CURL::libcurl ${SQLite3_LIBRARIES} Boost::filesystem Boost::process)
file(COPY metadata.db DESTINATION ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LOCALSTATEDIR})