summaryrefslogtreecommitdiffstats
path: root/Utilities/cmliblzma/liblzma
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2014-07-13 20:24:29 (GMT)
committerBrad King <brad.king@kitware.com>2014-07-23 14:34:55 (GMT)
commitb2a07ca49c66665f5b51b592f44ecc4f66c7556b (patch)
treede0cd056692b88088e1b21f5bdf96afd781d52e2 /Utilities/cmliblzma/liblzma
parentd44ad1612bfe01891bb16b4289f5fa5a2e29a546 (diff)
downloadCMake-b2a07ca49c66665f5b51b592f44ecc4f66c7556b.zip
CMake-b2a07ca49c66665f5b51b592f44ecc4f66c7556b.tar.gz
CMake-b2a07ca49c66665f5b51b592f44ecc4f66c7556b.tar.bz2
liblzma: Add CMake build system
Modify sources just enough to build without the full xz common directory.
Diffstat (limited to 'Utilities/cmliblzma/liblzma')
-rw-r--r--Utilities/cmliblzma/liblzma/common/common.h1
-rw-r--r--Utilities/cmliblzma/liblzma/liblzma_w32res.rc2
-rw-r--r--Utilities/cmliblzma/liblzma/rangecoder/range_common.h4
3 files changed, 3 insertions, 4 deletions
diff --git a/Utilities/cmliblzma/liblzma/common/common.h b/Utilities/cmliblzma/liblzma/common/common.h
index 45aba4f..6d7412f 100644
--- a/Utilities/cmliblzma/liblzma/common/common.h
+++ b/Utilities/cmliblzma/liblzma/common/common.h
@@ -14,7 +14,6 @@
#define LZMA_COMMON_H
#include "sysdefs.h"
-#include "mythread.h"
#include "tuklib_integer.h"
#if defined(_WIN32) || defined(__CYGWIN__)
diff --git a/Utilities/cmliblzma/liblzma/liblzma_w32res.rc b/Utilities/cmliblzma/liblzma/liblzma_w32res.rc
index d4d8159..773caf8 100644
--- a/Utilities/cmliblzma/liblzma/liblzma_w32res.rc
+++ b/Utilities/cmliblzma/liblzma/liblzma_w32res.rc
@@ -9,4 +9,6 @@
#define MY_NAME "liblzma"
#define MY_SUFFIX ".dll"
#define MY_DESC "liblzma data compression library"
+#define PACKAGE_NAME "XZ Utils"
+#define PACKAGE_URL "http://tukaani.org/xz/"
#include "common_w32res.rc"
diff --git a/Utilities/cmliblzma/liblzma/rangecoder/range_common.h b/Utilities/cmliblzma/liblzma/rangecoder/range_common.h
index 0e64241..2c74dc1 100644
--- a/Utilities/cmliblzma/liblzma/rangecoder/range_common.h
+++ b/Utilities/cmliblzma/liblzma/rangecoder/range_common.h
@@ -14,9 +14,7 @@
#ifndef LZMA_RANGE_COMMON_H
#define LZMA_RANGE_COMMON_H
-#ifdef HAVE_CONFIG_H
-# include "common.h"
-#endif
+#include "common.h"
///////////////