aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-07-29 16:01:21 +0000
committersaturneric <[email protected]>2024-07-29 16:01:21 +0000
commit0b3aad48cff7c9774bba1b8e7eb9aa6c2b5a51d7 (patch)
treec501be01693b5164ee0e5d24bfc44209705198bb
parentfix: avoid using in-repo third parties libraries on windows at full sdk build (diff)
downloadGpgFrontend-0b3aad48cff7c9774bba1b8e7eb9aa6c2b5a51d7.tar.gz
GpgFrontend-0b3aad48cff7c9774bba1b8e7eb9aa6c2b5a51d7.zip
fix: use system installed libarchive on windows at full sdk build
Diffstat (limited to '')
-rw-r--r--src/core/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index efd43e3f..1aeabce3 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -96,7 +96,8 @@ if(NOT MINGW)
find_package(LibArchive REQUIRED)
target_include_directories(gpgfrontend_core PRIVATE ${LibArchive_INCLUDE_DIR})
else()
- if(MINGW)
+ # use system installed libraries or install it system wide
+ if(NOT STABLE_BUILD_FULL_SDK)
set_target_properties(archive
PROPERTIES
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}"