aboutsummaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-04-10 08:39:02 +0000
committerSaturneric <[email protected]>2022-04-10 08:39:02 +0000
commit64a7aa0ad0c3afe643e56f097b2680cd5c86e16d (patch)
tree96f214a4a0e10edd7f3fa163a1b29d78e6796db1 /third_party
parent<fix>(ui): fix error in IMAPFolder (diff)
downloadGpgFrontend-64a7aa0ad0c3afe643e56f097b2680cd5c86e16d.tar.gz
GpgFrontend-64a7aa0ad0c3afe643e56f097b2680cd5c86e16d.zip
fix(project): remove automatic build
1. libarchive 2. libconfig++
Diffstat (limited to 'third_party')
-rw-r--r--third_party/CMakeLists.txt22
1 files changed, 5 insertions, 17 deletions
diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt
index 0df99211..74e54099 100644
--- a/third_party/CMakeLists.txt
+++ b/third_party/CMakeLists.txt
@@ -26,17 +26,17 @@
# easyloggingpp
set(build_static_lib 1 CACHE BOOL "" FORCE)
-add_subdirectory(easyloggingpp)
+add_subdirectory(easyloggingpp EXCLUDE_FROM_ALL)
target_include_directories(easyloggingpp PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/easyloggingpp/src)
# json
set(JSON_BuildTests OFF CACHE INTERNAL "")
-add_subdirectory(json)
+add_subdirectory(json EXCLUDE_FROM_ALL)
# qt-aes
include(GenerateExportHeader)
-add_subdirectory(qt-aes)
+add_subdirectory(qt-aes EXCLUDE_FROM_ALL)
# vmime
set(VMIME_HAVE_MESSAGING_PROTO_SENDMAIL OFF CACHE BOOL "" FORCE)
@@ -53,7 +53,7 @@ set(VMIME_INCLUDES ${VMIME_DIR}/src ${CMAKE_BINARY_DIR}/src/vmime/ ${CMAKE_BINAR
set(VMIME_BIN_STATIC_LIB ${VMIME_BIN}/build/lib/libvmime.a)
-add_subdirectory(vmime)
+add_subdirectory(vmime EXCLUDE_FROM_ALL)
add_library(gpgfrontend_vmime STATIC IMPORTED GLOBAL)
add_dependencies(gpgfrontend_vmime vmime-static vmime-static-config)
@@ -66,7 +66,6 @@ include(ExternalProject)
# libgpg-error
-
if (NOT MINGW)
set(GPG_ERROR_DIR ${CMAKE_CURRENT_SOURCE_DIR}/libgpg-error)
set(GPG_ERROR_BIN ${CMAKE_CURRENT_BINARY_DIR}/libgpg-error)
@@ -203,15 +202,4 @@ endif ()
# encoding detect library
aux_source_directory(./encoding-detect ENCODING_DETECT_SOURCE_CODE)
-add_library(encoding_detect STATIC ${ENCODING_DETECT_SOURCE_CODE})
-
-# libarchive
-if (NOT MINGW)
- remove_definitions(-DDEBUG)
- add_subdirectory(libarchive)
-endif ()
-
-if (NOT MINGW)
-# libconfig
-add_subdirectory(libconfig)
-endif () \ No newline at end of file
+add_library(encoding_detect STATIC ${ENCODING_DETECT_SOURCE_CODE}) \ No newline at end of file