Skip to content

Commit

Permalink
Fix lzma option in CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 13, 2017
1 parent 19b15d3 commit 46db289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -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})
Expand Down

0 comments on commit 46db289

Please sign in to comment.