From 46db2891452115e8105389892f8c247d491c1aca Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 12 Jul 2017 20:39:03 -0400 Subject: [PATCH] Fix lzma option in CMakeLists.txt --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3205915..9f296ed 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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})