mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Migrate PhysFS to submodule
This means we are no longer copy-pasting PhysFS source files directly. Since the source files reside in a src/ subdirectory, the paths in the CMakeLists.txt have to be adjusted.
This commit is contained in:
@@ -141,7 +141,7 @@ if(BUNDLE_DEPENDENCIES)
|
||||
VVVVVV PRIVATE
|
||||
src
|
||||
../third_party/tinyxml2
|
||||
../third_party/physfs
|
||||
../third_party/physfs/src
|
||||
../third_party/physfs/extras
|
||||
../third_party/lodepng
|
||||
../third_party/utfcpp/source
|
||||
@@ -170,20 +170,20 @@ set(XML2_SRC
|
||||
../third_party/tinyxml2/tinyxml2.cpp
|
||||
)
|
||||
set(PFS_SRC
|
||||
../third_party/physfs/physfs.c
|
||||
../third_party/physfs/physfs_archiver_dir.c
|
||||
../third_party/physfs/physfs_archiver_unpacked.c
|
||||
../third_party/physfs/physfs_archiver_zip.c
|
||||
../third_party/physfs/physfs_byteorder.c
|
||||
../third_party/physfs/physfs_unicode.c
|
||||
../third_party/physfs/physfs_platform_posix.c
|
||||
../third_party/physfs/physfs_platform_unix.c
|
||||
../third_party/physfs/physfs_platform_windows.c
|
||||
../third_party/physfs/physfs_platform_haiku.cpp
|
||||
../third_party/physfs/src/physfs.c
|
||||
../third_party/physfs/src/physfs_archiver_dir.c
|
||||
../third_party/physfs/src/physfs_archiver_unpacked.c
|
||||
../third_party/physfs/src/physfs_archiver_zip.c
|
||||
../third_party/physfs/src/physfs_byteorder.c
|
||||
../third_party/physfs/src/physfs_unicode.c
|
||||
../third_party/physfs/src/physfs_platform_posix.c
|
||||
../third_party/physfs/src/physfs_platform_unix.c
|
||||
../third_party/physfs/src/physfs_platform_windows.c
|
||||
../third_party/physfs/src/physfs_platform_haiku.cpp
|
||||
)
|
||||
if(APPLE)
|
||||
# Are you noticing a pattern with this Apple crap yet?
|
||||
set(PFS_SRC ${PFS_SRC} ../third_party/physfs/physfs_platform_apple.m)
|
||||
set(PFS_SRC ${PFS_SRC} ../third_party/physfs/src/physfs_platform_apple.m)
|
||||
endif()
|
||||
set(PNG_SRC src/lodepng_wrapper.c)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user