diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2018-11-30 12:38:58 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2018-11-30 12:39:53 +0900 |
commit | 22e701e553344eeb22f88ed0906d76c9a5e39d83 (patch) | |
tree | 493781d54b4af93dc853e86a0be040d1da95a13c /CMakeLists.txt | |
parent | f458102388250c8a1cbbfa8f18d27baa204c696c (diff) | |
download | libsolv-22e701e553344eeb22f88ed0906d76c9a5e39d83.tar.gz libsolv-22e701e553344eeb22f88ed0906d76c9a5e39d83.tar.bz2 libsolv-22e701e553344eeb22f88ed0906d76c9a5e39d83.zip |
Imported Upstream version 0.6.24upstream/0.6.24
Change-Id: I68f4d40b704c1ccd2a86576a3c03687922f023aa
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0153a70..82034e0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,7 @@ OPTION (ENABLE_TCL "Build the Tcl bindings?" OFF) OPTION (USE_VENDORDIRS "Install the bindings in vendor directories?" OFF) OPTION (ENABLE_RPMDB "Build with rpm database support?" OFF) +OPTION (ENABLE_RPMPKG "Build with rpm package support?" OFF) OPTION (ENABLE_PUBKEY "Build with pubkey support?" OFF) OPTION (ENABLE_RPMDB_BYRPMHEADER "Build with rpmdb Header support?" OFF) OPTION (ENABLE_RPMMD "Build with rpmmd repository support?" OFF) @@ -174,6 +175,10 @@ IF (MULTI_SEMANTICS) MESSAGE (STATUS "Enabling multi dist support") ENDIF (MULTI_SEMANTICS) +IF (ENABLE_RPMDB) +SET (ENABLE_RPMPKG ON) +ENDIF (ENABLE_RPMDB) + INCLUDE (CheckIncludeFile) IF (ENABLE_RPMDB) FIND_LIBRARY (RPMDB_LIBRARY NAMES rpmdb) @@ -254,7 +259,8 @@ FOREACH (VAR ENDFOREACH (VAR) FOREACH (VAR - ENABLE_RPMDB ENABLE_PUBKEY ENABLE_RPMMD ENABLE_RPMDB_BYRPMHEADER ENABLE_SUSEREPO ENABLE_COMPS + ENABLE_RPMDB ENABLE_RPMPKG ENABLE_PUBKEY ENABLE_RPMMD ENABLE_RPMDB_BYRPMHEADER + ENABLE_SUSEREPO ENABLE_COMPS ENABLE_HELIXREPO ENABLE_MDKREPO ENABLE_ARCHREPO ENABLE_DEBIAN ENABLE_HAIKU ENABLE_LZMA_COMPRESSION ENABLE_BZIP2_COMPRESSION ENABLE_PGPVRFY ENABLE_APPDATA) IF(${VAR}) |