Skip to content

Commit

Permalink
Updated for lzma changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jan 23, 2008
1 parent 6663157 commit 77a2c50
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Expand Up @@ -2,6 +2,7 @@
* CHANGELOG.
*/

01222008 - Upgraded lzma sdk, lzma.c improvements (thanks, Dennis!).
01212008 - Fixed HTTP header in physfshttpd.c. Fixed utf-8 to UCS-2 allocation
size in Windows code.
12112007 - Fixed incorrect directory test in Windows code (thanks, Buginator!).
Expand Down
26 changes: 11 additions & 15 deletions CMakeLists.txt
Expand Up @@ -86,16 +86,17 @@ SET(ZLIB_SRCS
)

SET(LZMA_SRCS
lzma/7zBuffer.c
lzma/7zCrc.c
lzma/7zDecode.c
lzma/7zExtract.c
lzma/7zHeader.c
lzma/7zIn.c
lzma/7zItem.c
lzma/7zMethodID.c
lzma/LzmaDecode.c
lzma/LzmaStateDecode.c
lzma/C/7zCrc.c
lzma/C/Archive/7z/7zBuffer.c
lzma/C/Archive/7z/7zDecode.c
lzma/C/Archive/7z/7zExtract.c
lzma/C/Archive/7z/7zHeader.c
lzma/C/Archive/7z/7zIn.c
lzma/C/Archive/7z/7zItem.c
lzma/C/Archive/7z/7zMethodID.c
lzma/C/Compress/Branch/BranchX86.c
lzma/C/Compress/Branch/BranchX86_2.c
lzma/C/Compress/Lzma/LzmaDecode.c
)

IF(BEOS)
Expand Down Expand Up @@ -210,11 +211,6 @@ IF(PHYSFS_ARCHIVE_7Z)
ADD_DEFINITIONS(-DPHYSFS_SUPPORTS_7Z=1)
# !!! FIXME: rename to 7z.c?
SET(PHYSFS_SRCS ${PHYSFS_SRCS} ${LZMA_SRCS})
INCLUDE_DIRECTORIES(lzma)
ADD_DEFINITIONS(-D_LZMA_IN_CB=1)
ADD_DEFINITIONS(-D_LZMA_PROB32=1)
ADD_DEFINITIONS(-D_LZMA_SYSTEM_SIZE_T=1)
ADD_DEFINITIONS(-D_SZ_ONE_DIRECTORY=1)
ENDIF(PHYSFS_ARCHIVE_7Z)

OPTION(PHYSFS_ARCHIVE_GRP "Enable Build Engine GRP support" TRUE)
Expand Down

0 comments on commit 77a2c50

Please sign in to comment.