Explorar el Código

Fix lzma option in CMakeLists.txt

Ryan C. Gordon hace 8 años
padre
commit
46db289145
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -109,7 +109,7 @@ if(NOT PHYSFS_ARCHIVE_ZIP)
 endif()
 endif()
 
 
 option(PHYSFS_ARCHIVE_7Z "Enable 7zip support" TRUE)
 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)
     add_definitions(-DPHYSFS_SUPPORTS_7Z=0)
     # !!! FIXME: rename to 7z.c?
     # !!! FIXME: rename to 7z.c?
     set(PHYSFS_SRCS ${PHYSFS_SRCS} ${LZMA_SRCS})
     set(PHYSFS_SRCS ${PHYSFS_SRCS} ${LZMA_SRCS})