diff options
author | Saturneric <[email protected]> | 2022-01-23 13:17:48 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-01-23 13:17:48 +0000 |
commit | b5f212842dc0c2dd6356bf49a28b5d433bc8ad17 (patch) | |
tree | b415a88c7a0d20b18fba40efa65a206b808fc22f /third_party | |
parent | <refactor>(ui): tidy up codes and comments. (diff) | |
download | GpgFrontend-b5f212842dc0c2dd6356bf49a28b5d433bc8ad17.tar.gz GpgFrontend-b5f212842dc0c2dd6356bf49a28b5d433bc8ad17.zip |
<refactor, style>(gpg, ui, project): tidy up codes and comments.
1. let GpgInfo get into namespace GpgFrontend.
2. adjust the code structure.
3. add license statement to project configuration file.
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/CMakeLists.txt | 32 |
1 files changed, 29 insertions, 3 deletions
diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt index f6e74772..7810fd67 100644 --- a/third_party/CMakeLists.txt +++ b/third_party/CMakeLists.txt @@ -1,3 +1,29 @@ +# +# Copyright (C) 2021 Saturneric +# +# This file is part of GpgFrontend. +# +# GpgFrontend is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# GpgFrontend is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GpgFrontend. If not, see <https://www.gnu.org/licenses/>. +# +# The initial version of the source code is inherited from +# the gpg4usb project, which is under GPL-3.0-or-later. +# +# All the source code of GpgFrontend was modified and released by +# Saturneric<[email protected]> starting on May 12, 2021. +# +# SPDX-License-Identifier: GPL-3.0-or-later + # easyloggingpp set(build_static_lib 1 CACHE BOOL "" FORCE) add_subdirectory(easyloggingpp) @@ -153,9 +179,9 @@ endif () add_library(gpgme STATIC IMPORTED GLOBAL) if (NOT MINGW) -add_dependencies(gpgme libgpgme assuan gpg-error) -set_target_properties(gpgme PROPERTIES INTERFACE_INCLUDE_DIRECTORIES ${GPGME_INCLUDES}) -endif() + add_dependencies(gpgme libgpgme assuan gpg-error) + set_target_properties(gpgme PROPERTIES INTERFACE_INCLUDE_DIRECTORIES ${GPGME_INCLUDES}) +endif () set_target_properties(gpgme PROPERTIES IMPORTED_LOCATION ${GPGME_STATIC_LIB}) if (SMTP_SUPPORT) |