From 26e6c508d2a971dd8f16e6ba984e76cbe1f82a55 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Fri, 30 Mar 2012 14:12:54 +0200 Subject: - add support for archlinux packages/repos --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') 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}) -- cgit v1.2.3