Skip to content

Commit

Permalink
fix: use system installed libarchive on windows at full sdk build
Browse files Browse the repository at this point in the history
  • Loading branch information
saturneric committed Jul 29, 2024
1 parent 1981fb2 commit 0b3aad4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 0b3aad4

Please sign in to comment.