mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-27 20:14:32 +00:00
cmake: don't check for gpg program
gpg program is runtime dependency. Plugin can be built without it.
This commit is contained in:
parent
0ef16c3837
commit
c00da86463
@ -1,7 +1,5 @@
|
||||
# QCA GnuPG
|
||||
|
||||
find_program(QCA_GPG_EXECUTABLE NAMES gpg2 gpg)
|
||||
if(QCA_GPG_EXECUTABLE)
|
||||
enable_plugin("gnupg")
|
||||
|
||||
# we don't moc gpgporc/sprocess.cpp
|
||||
@ -27,8 +25,3 @@ if(QCA_GPG_EXECUTABLE)
|
||||
RUNTIME DESTINATION "${QCA_CRYPTO_INSTALL_DIR}")
|
||||
|
||||
install_pdb(qca-gnupg ${QCA_CRYPTO_INSTALL_DIR})
|
||||
elseif(WITH_gnupg_PLUGIN STREQUAL "yes")
|
||||
message(FATAL_ERROR "Could not find GnuPG binary")
|
||||
else(QCA_GPG_EXECUTABLE)
|
||||
disable_plugin("gnupg")
|
||||
endif(QCA_GPG_EXECUTABLE)
|
||||
|
Loading…
x
Reference in New Issue
Block a user