aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-10-18 05:21:39 +0000
committersaturneric <[email protected]>2023-10-18 05:21:39 +0000
commitcd72a74d8344ebdaf46aaca8b5ec77681209a40d (patch)
treebdf51ac5043403c1efc5e2f8b7ca90e07852e80c /src
parentfix: solve find gpgme issues at newer version of gpgme (diff)
downloadGpgFrontend-cd72a74d8344ebdaf46aaca8b5ec77681209a40d.tar.gz
GpgFrontend-cd72a74d8344ebdaf46aaca8b5ec77681209a40d.zip
fix: add libarchive checking at cmake config
Diffstat (limited to '')
-rw-r--r--src/core/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 53129c84..bd0c28b3 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -81,6 +81,7 @@ endif ()
target_link_libraries(gpgfrontend_core PRIVATE spdlog)
# link libarchive
+find_package(LibArchive REQUIRED)
target_link_libraries(gpgfrontend_core PRIVATE archive)
# link json