/third-party/physfs/: remove unused archivers, actually make cmake options pass, duh
This commit is contained in:
parent
ed93072371
commit
d2422735e6
@ -44,17 +44,18 @@ endif()
|
||||
# add -fPIC globally so that it's linked well
|
||||
add_compile_options($<$<BOOL:${TWN_FEATURE_DYNLIB_GAME}>:-fPIC>)
|
||||
|
||||
set(PHYSFS_BUILD_SHARED FALSE)
|
||||
set(PHYSFS_DISABLE_INSTALL TRUE)
|
||||
set(PHYSFS_TARGETNAME_UNINSTALL "physfs_uninstall")
|
||||
set(PHYSFS_ARCHIVE_GRP OFF)
|
||||
set(PHYSFS_ARCHIVE_WAD OFF)
|
||||
set(PHYSFS_ARCHIVE_HOG OFF)
|
||||
set(PHYSFS_ARCHIVE_MVL OFF)
|
||||
set(PHYSFS_ARCHIVE_QPAK OFF)
|
||||
set(PHYSFS_ARCHIVE_SLB OFF)
|
||||
set(PHYSFS_ARCHIVE_ISO9660 OFF)
|
||||
set(PHYSFS_ARCHIVE_VDF OFF)
|
||||
set(PHYSFS_BUILD_SHARED FALSE CACHE INTERNAL "")
|
||||
set(PHYSFS_DISABLE_INSTALL TRUE CACHE INTERNAL "")
|
||||
set(PHYSFS_TARGETNAME_UNINSTALL "physfs_uninstall" CACHE INTERNAL "")
|
||||
set(PHYSFS_ARCHIVE_GRP OFF CACHE BOOL "")
|
||||
set(PHYSFS_ARCHIVE_WAD OFF CACHE INTERNAL "")
|
||||
set(PHYSFS_ARCHIVE_HOG OFF CACHE INTERNAL "")
|
||||
set(PHYSFS_ARCHIVE_MVL OFF CACHE INTERNAL "")
|
||||
set(PHYSFS_ARCHIVE_QPAK OFF CACHE INTERNAL "")
|
||||
set(PHYSFS_ARCHIVE_SLB OFF CACHE INTERNAL "")
|
||||
set(PHYSFS_ARCHIVE_ISO9660 OFF CACHE INTERNAL "")
|
||||
set(PHYSFS_ARCHIVE_VDF OFF CACHE INTERNAL "")
|
||||
set(PHYSFS_ARCHIVE_7Z OFF CACHE INTERNAL "")
|
||||
add_subdirectory(third-party/physfs ${CMAKE_CURRENT_BINARY_DIR}/third-party/physfs SYSTEM)
|
||||
add_subdirectory(third-party/libxm ${CMAKE_CURRENT_BINARY_DIR}/third-party/libxm SYSTEM)
|
||||
|
||||
|
9
third-party/physfs/CMakeLists.txt
vendored
9
third-party/physfs/CMakeLists.txt
vendored
@ -85,16 +85,7 @@ set(PHYSFS_SRCS
|
||||
src/physfs_platform_android.c
|
||||
src/physfs_archiver_dir.c
|
||||
src/physfs_archiver_unpacked.c
|
||||
src/physfs_archiver_grp.c
|
||||
src/physfs_archiver_hog.c
|
||||
src/physfs_archiver_7z.c
|
||||
src/physfs_archiver_mvl.c
|
||||
src/physfs_archiver_qpak.c
|
||||
src/physfs_archiver_wad.c
|
||||
src/physfs_archiver_zip.c
|
||||
src/physfs_archiver_slb.c
|
||||
src/physfs_archiver_iso9660.c
|
||||
src/physfs_archiver_vdf.c
|
||||
${PHYSFS_CPP_SRCS}
|
||||
${PHYSFS_M_SRCS}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user