summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2012-03-30 14:12:54 +0200
committerMichael Schroeder <mls@suse.de>2012-03-30 14:12:54 +0200
commit26e6c508d2a971dd8f16e6ba984e76cbe1f82a55 (patch)
treeee8151ffb27aed33c98dbe9a7852262bcf47c0ef /CMakeLists.txt
parentc36ef29531924b0a2ec37cdac57211dac32837b1 (diff)
downloadlibsolv-26e6c508d2a971dd8f16e6ba984e76cbe1f82a55.tar.gz
libsolv-26e6c508d2a971dd8f16e6ba984e76cbe1f82a55.tar.bz2
libsolv-26e6c508d2a971dd8f16e6ba984e76cbe1f82a55.zip
- add support for archlinux packages/repos
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4540fa6..34829bf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,6 +19,7 @@ OPTION (ENABLE_COMPS "Build with fedora comps support?" OFF)
OPTION (ENABLE_HELIXREPO "Build with helix repository support?" OFF)
OPTION (ENABLE_DEBIAN "Build with debian database/repository support?" OFF)
OPTION (ENABLE_MDKREPO "Build with mandriva/mageia repository support?" OFF)
+OPTION (ENABLE_ARCHREPO "Build with archlinux repository support?" OFF)
OPTION (ENABLE_LZMA_COMPRESSION "Build with lzma/xz compression support?" OFF)
@@ -89,6 +90,7 @@ IF (NOT ENABLE_RPMDB AND
NOT ENABLE_SUSEREPO AND
NOT ENABLE_HELIXREPO AND
NOT ENABLE_MDKREPO AND
+ NOT ENABLE_ARCHREPO AND
NOT ENABLE_DEBIAN)
SET (ENABLE_RPMDB ON)
SET (ENABLE_RPMDB_PUBKEY ON)
@@ -136,7 +138,8 @@ TEST_BIG_ENDIAN (WORDS_BIGENDIAN)
# should create config.h with #cmakedefine instead...
FOREACH (VAR HAVE_STRCHRNUL HAVE_FOPENCOOKIE HAVE_FUNOPEN WORDS_BIGENDIAN
ENABLE_RPMDB ENABLE_RPMDB_PUBKEY ENABLE_RPMMD ENABLE_SUSEREPO ENABLE_COMPS
- ENABLE_HELIXREPO ENABLE_MDKREPO ENABLE_DEBIAN ENABLE_LZMA_COMPRESSION)
+ ENABLE_HELIXREPO ENABLE_MDKREPO ENABLE_ARCHREPO ENABLE_DEBIAN
+ ENABLE_LZMA_COMPRESSION)
IF(${VAR})
ADD_DEFINITIONS (-D${VAR}=1)
SET (SWIG_FLAGS ${SWIG_FLAGS} -D${VAR})