aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-01-25 10:51:02 +0000
committersaturneric <[email protected]>2024-01-25 11:30:12 +0000
commit41f1dd4d69c589d7b49fcb36b45ab149d5ebceda (patch)
tree24464bd33d0d7cf964d2091579cc1004f1f97651 /src
parentfix: try to solve bugs at universal file operations (diff)
downloadGpgFrontend-41f1dd4d69c589d7b49fcb36b45ab149d5ebceda.tar.gz
GpgFrontend-41f1dd4d69c589d7b49fcb36b45ab149d5ebceda.zip
fix: buddle libarchive as submodule
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt4
-rw-r--r--src/core/CMakeLists.txt5
2 files changed, 0 insertions, 9 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 71734127..a225f616 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -171,10 +171,6 @@ if (BUILD_APPLICATION)
list(APPEND ALL_RUNTIME_DEP_PATH_LIST ${_libDllPath})
unset(_libDllPath)
- file(GLOB _libDllPath "${_libDllBinPath}/libarchive-*.dll")
- list(APPEND ALL_RUNTIME_DEP_PATH_LIST ${_libDllPath})
-
- unset(_libDllPath)
file(GLOB _libDllPath "${_libDllBinPath}/libassuan-*.dll")
list(APPEND ALL_RUNTIME_DEP_PATH_LIST ${_libDllPath})
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index ed12ad01..54c3bf41 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -76,11 +76,6 @@ endif ()
target_link_libraries(gpgfrontend_core PRIVATE spdlog)
# link libarchive
-if(APPLE)
- set(LibArchive_INCLUDE_DIR "/usr/local/opt/libarchive/include")
-endif()
-find_package(LibArchive REQUIRED)
-target_include_directories(gpgfrontend_core PRIVATE ${LibArchive_INCLUDE_DIR})
target_link_libraries(gpgfrontend_core PRIVATE archive)
# link Qt core