Fix lzma option in CMakeLists.txt

This commit is contained in:
Ryan C. Gordon 2017-07-12 20:39:03 -04:00
parent 19b15d34a1
commit 46db289145
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ if(NOT PHYSFS_ARCHIVE_ZIP)
endif()
option(PHYSFS_ARCHIVE_7Z "Enable 7zip support" TRUE)
if(NOT PHYSFS_ARCHIVE_7Z)
if(PHYSFS_ARCHIVE_7Z) # !!! FIXME: this is DISABLED by default in the source because it needs LZMA SDK; clean that up and enable this by default.
add_definitions(-DPHYSFS_SUPPORTS_7Z=0)
# !!! FIXME: rename to 7z.c?
set(PHYSFS_SRCS ${PHYSFS_SRCS} ${LZMA_SRCS})