summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2012-03-26 15:02:49 +0200
committerMichael Schroeder <mls@suse.de>2012-03-26 15:02:49 +0200
commit5ec833a5377d8da8091da80ec71650cc34e931ff (patch)
treec6616ff58a6fe077195d8c40ff2bc5f78f46e544 /CMakeLists.txt
parent536bf52dbc4637141c8b0e391fcf988af673ac2c (diff)
downloadlibsolv-5ec833a5377d8da8091da80ec71650cc34e931ff.tar.gz
libsolv-5ec833a5377d8da8091da80ec71650cc34e931ff.tar.bz2
libsolv-5ec833a5377d8da8091da80ec71650cc34e931ff.zip
- rename to ENABLE_LZMA_COMPRESSION as the lib is called lzma
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 69497fc..4540fa6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,7 +20,7 @@ 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_XZ_COMPRESSION "Build with xz/lzma compression support?" OFF)
+OPTION (ENABLE_LZMA_COMPRESSION "Build with lzma/xz compression support?" OFF)
#IF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERISION} GREATER 2.4)
#ENDIF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERISION} GREATER 2.4)
@@ -136,7 +136,7 @@ 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_XZ_COMPRESSION)
+ ENABLE_HELIXREPO ENABLE_MDKREPO ENABLE_DEBIAN ENABLE_LZMA_COMPRESSION)
IF(${VAR})
ADD_DEFINITIONS (-D${VAR}=1)
SET (SWIG_FLAGS ${SWIG_FLAGS} -D${VAR})