summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2013-07-25 17:12:25 +0200
committerMichael Schroeder <mls@suse.de>2013-07-25 17:39:15 +0200
commit3e5c879f1b770ad664b45f4eb73d254b5188ceee (patch)
tree72f1e7d1b99384a7b089bffe3236178b59792a53 /CMakeLists.txt
parentaaaf4d6587eea9f3bb46f7deef8245a1b8914546 (diff)
downloadlibsolv-3e5c879f1b770ad664b45f4eb73d254b5188ceee.tar.gz
libsolv-3e5c879f1b770ad664b45f4eb73d254b5188ceee.tar.bz2
libsolv-3e5c879f1b770ad664b45f4eb73d254b5188ceee.zip
add slow but small dsa/rsa implementation
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 16dde94..0fb4731 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -186,6 +186,10 @@ IF (ENABLE_RPMDB)
CHECK_LIBRARY_EXISTS(rpmio pgpDigGetParams "" HAVE_PGPDIGGETPARAMS)
ENDIF (ENABLE_RPMDB)
+IF (ENABLE_RPMDB_PUBKEY)
+ SET (ENABLE_PGPVRFY ON)
+ENDIF (ENABLE_RPMDB_PUBKEY)
+
INCLUDE (CheckFunctionExists)
INCLUDE (TestBigEndian)
@@ -199,7 +203,7 @@ FOREACH (VAR HAVE_STRCHRNUL HAVE_FOPENCOOKIE HAVE_FUNOPEN WORDS_BIGENDIAN
HAVE_RPM_DB_H HAVE_PGPDIGGETPARAMS
ENABLE_RPMDB ENABLE_RPMDB_PUBKEY ENABLE_RPMMD ENABLE_SUSEREPO ENABLE_COMPS
ENABLE_HELIXREPO ENABLE_MDKREPO ENABLE_ARCHREPO ENABLE_DEBIAN ENABLE_HAIKU
- ENABLE_LZMA_COMPRESSION ENABLE_BZIP2_COMPRESSION)
+ ENABLE_LZMA_COMPRESSION ENABLE_BZIP2_COMPRESSION ENABLE_PGPVRFY)
IF(${VAR})
ADD_DEFINITIONS (-D${VAR}=1)
SET (SWIG_FLAGS ${SWIG_FLAGS} -D${VAR})