# HG changeset patch # User koda # Date 1361730254 -3600 # Node ID dc511bf91aa0e5407e497f56f2041c6bd5585cbd # Parent cf808329bb6f651878666609ea14c14f6b02e5fa disable unneeded physfs archives (as of bug 529) diff -r cf808329bb6f -r dc511bf91aa0 misc/libphysfs/CMakeLists.txt --- a/misc/libphysfs/CMakeLists.txt Sun Feb 24 19:11:58 2013 +0100 +++ b/misc/libphysfs/CMakeLists.txt Sun Feb 24 19:24:14 2013 +0100 @@ -204,41 +204,41 @@ set(PHYSFS_FEATURES "ZIP") endif(PHYSFS_ARCHIVE_ZIP) -option(PHYSFS_ARCHIVE_GRP "Enable Build Engine GRP support" TRUE) -if(PHYSFS_ARCHIVE_GRP) - add_definitions(-DPHYSFS_SUPPORTS_GRP=1) - set(PHYSFS_FEATURES "${PHYSFS_FEATURES} GRP") -endif(PHYSFS_ARCHIVE_GRP) +#option(PHYSFS_ARCHIVE_GRP "Enable Build Engine GRP support" TRUE) +#if(PHYSFS_ARCHIVE_GRP) +# add_definitions(-DPHYSFS_SUPPORTS_GRP=1) +# set(PHYSFS_FEATURES "${PHYSFS_FEATURES} GRP") +#endif(PHYSFS_ARCHIVE_GRP) -option(PHYSFS_ARCHIVE_WAD "Enable Doom WAD support" TRUE) -if(PHYSFS_ARCHIVE_WAD) - add_definitions(-DPHYSFS_SUPPORTS_WAD=1) - set(PHYSFS_FEATURES "${PHYSFS_FEATURES} WAD") -endif(PHYSFS_ARCHIVE_WAD) +#option(PHYSFS_ARCHIVE_WAD "Enable Doom WAD support" TRUE) +#if(PHYSFS_ARCHIVE_WAD) +# add_definitions(-DPHYSFS_SUPPORTS_WAD=1) +# set(PHYSFS_FEATURES "${PHYSFS_FEATURES} WAD") +#endif(PHYSFS_ARCHIVE_WAD) -option(PHYSFS_ARCHIVE_HOG "Enable Descent I/II HOG support" TRUE) -if(PHYSFS_ARCHIVE_HOG) - add_definitions(-DPHYSFS_SUPPORTS_HOG=1) - set(PHYSFS_FEATURES "${PHYSFS_FEATURES} HOG") -endif(PHYSFS_ARCHIVE_HOG) +#option(PHYSFS_ARCHIVE_HOG "Enable Descent I/II HOG support" TRUE) +#if(PHYSFS_ARCHIVE_HOG) +# add_definitions(-DPHYSFS_SUPPORTS_HOG=1) +# set(PHYSFS_FEATURES "${PHYSFS_FEATURES} HOG") +#endif(PHYSFS_ARCHIVE_HOG) -option(PHYSFS_ARCHIVE_MVL "Enable Descent I/II MVL support" TRUE) -if(PHYSFS_ARCHIVE_MVL) - add_definitions(-DPHYSFS_SUPPORTS_MVL=1) - set(PHYSFS_FEATURES "${PHYSFS_FEATURES} MVL") -endif(PHYSFS_ARCHIVE_MVL) +#option(PHYSFS_ARCHIVE_MVL "Enable Descent I/II MVL support" TRUE) +#if(PHYSFS_ARCHIVE_MVL) +# add_definitions(-DPHYSFS_SUPPORTS_MVL=1) +# set(PHYSFS_FEATURES "${PHYSFS_FEATURES} MVL") +#endif(PHYSFS_ARCHIVE_MVL) -option(PHYSFS_ARCHIVE_QPAK "Enable Quake I/II QPAK support" TRUE) -if(PHYSFS_ARCHIVE_QPAK) - add_definitions(-DPHYSFS_SUPPORTS_QPAK=1) - set(PHYSFS_FEATURES "${PHYSFS_FEATURES} QPAK") -endif(PHYSFS_ARCHIVE_QPAK) +#option(PHYSFS_ARCHIVE_QPAK "Enable Quake I/II QPAK support" TRUE) +#if(PHYSFS_ARCHIVE_QPAK) +# add_definitions(-DPHYSFS_SUPPORTS_QPAK=1) +# set(PHYSFS_FEATURES "${PHYSFS_FEATURES} QPAK") +#endif(PHYSFS_ARCHIVE_QPAK) -option(PHYSFS_ARCHIVE_ISO9660 "Enable ISO9660 support" TRUE) -if(PHYSFS_ARCHIVE_ISO9660) - add_definitions(-DPHYSFS_SUPPORTS_ISO9660=1) - set(PHYSFS_FEATURES "${PHYSFS_FEATURES} CD-ROM") -endif(PHYSFS_ARCHIVE_ISO9660) +#option(PHYSFS_ARCHIVE_ISO9660 "Enable ISO9660 support" TRUE) +#if(PHYSFS_ARCHIVE_ISO9660) +# add_definitions(-DPHYSFS_SUPPORTS_ISO9660=1) +# set(PHYSFS_FEATURES "${PHYSFS_FEATURES} CD-ROM") +#endif(PHYSFS_ARCHIVE_ISO9660) ##as needed by Hedgewars configuration @@ -289,5 +289,5 @@ ## removed install, language bindings and test program ## simplified configuration output -message(STATUS "PhysFS will be built with ${PHYSFS_FEATURES} support") +#message(STATUS "PhysFS will be built with ${PHYSFS_FEATURES} support")