diff options
author | Saturneric <[email protected]> | 2022-03-12 06:17:26 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-03-12 06:17:26 +0000 |
commit | 638a56a835c7c805761a00d64629d78b2b4d3073 (patch) | |
tree | ab2dcdfddd27d08465adc794203484738ed3eef9 /src | |
parent | <feat, refactor>(ui, core): Transfer file hash calculation logic to core (diff) | |
download | GpgFrontend-638a56a835c7c805761a00d64629d78b2b4d3073.tar.gz GpgFrontend-638a56a835c7c805761a00d64629d78b2b4d3073.zip |
<chore>(core): Resolve libarchive compile dependencies for Windows
Diffstat (limited to 'src')
-rw-r--r-- | src/core/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/core/GpgFrontendCore.h | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 79f2bdc4..2f463039 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -61,7 +61,7 @@ endif () # link libarchive if (MINGW) find_library(LIBARCHIVE_LIB libarchive.a) - target_link_libraries(gpgfrontend_core ${LIBARCHIVE_LIB}) + target_link_libraries(gpgfrontend_core ${LIBARCHIVE_LIB} bcrypt lzma bz2 z) else () target_link_libraries(gpgfrontend_core archive_static) endif () diff --git a/src/core/GpgFrontendCore.h b/src/core/GpgFrontendCore.h index 27738f7b..5931695d 100644 --- a/src/core/GpgFrontendCore.h +++ b/src/core/GpgFrontendCore.h @@ -50,6 +50,11 @@ #define LIBCONFIGXX_STATIC #include <libconfig.h++> + +// libarchive includes +#include <libarchive/libarchive/archive.h> +#include <libarchive/libarchive/archive_entry.h> + #include "core/GpgModel.h" |