aboutsummaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-01-26 06:28:21 +0000
committersaturneric <[email protected]>2024-01-26 06:28:28 +0000
commitb58012dc6bba09d086db8743bed66ac35be2a92b (patch)
tree9de051d20f73e4f06c1b3e7a6724c1227a247a41 /third_party
parentdoc: fill translations mainly de and chinese (diff)
downloadGpgFrontend-b58012dc6bba09d086db8743bed66ac35be2a92b.tar.gz
GpgFrontend-b58012dc6bba09d086db8743bed66ac35be2a92b.zip
fix: cannot correctly compile
Diffstat (limited to 'third_party')
-rw-r--r--third_party/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt
index df8bca3a..534d71da 100644
--- a/third_party/CMakeLists.txt
+++ b/third_party/CMakeLists.txt
@@ -29,10 +29,12 @@ set(JSON_BuildTests OFF CACHE INTERNAL "")
add_subdirectory(spdlog EXCLUDE_FROM_ALL)
-add_subdirectory(libarchive EXCLUDE_FROM_ALL)
+if (MINGW)
+ add_subdirectory(libarchive EXCLUDE_FROM_ALL)
+endif()
# not working at macOS
-if(NOT APPLE)
+if (NOT APPLE)
set(MI_SECURE ON)
if(${CMAKE_BUILD_TYPE} STREQUAL "Debug")
# set(MI_TRACK_VALGRIND ON)