Skip to content

Commit 5f37598

Browse files
Forgot this too. I am stupid.
1 parent a417802 commit 5f37598

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ set(PHYSFS_SRCS
100100
src/physfs_archiver_iso9660.c
101101
src/physfs_archiver_vdf.c
102102
src/physfs_archiver_lec3d.c
103+
src/physfs_archiver_pod.c
103104
${PHYSFS_CPP_SRCS}
104105
${PHYSFS_M_SRCS}
105106
)
@@ -169,6 +170,11 @@ if(NOT PHYSFS_ARCHIVE_LECARCHIVES)
169170
add_definitions(-DPHYSFS_SUPPORTS_LECARCHIVES=0)
170171
endif()
171172

173+
option(PHYSFS_ARCHIVE_POD "Enable Terminal Reality POD Archive support" TRUE)
174+
if(NOT PHYSFS_ARCHIVE_POD)
175+
add_definitions(-DPHYSFS_SUPPORTS_POD=0)
176+
endif()
177+
172178

173179
option(PHYSFS_BUILD_STATIC "Build static library" TRUE)
174180
if(PHYSFS_BUILD_STATIC)
@@ -341,6 +347,7 @@ message_bool_option("SLB support" PHYSFS_ARCHIVE_SLB)
341347
message_bool_option("VDF support" PHYSFS_ARCHIVE_VDF)
342348
message_bool_option("ISO9660 support" PHYSFS_ARCHIVE_ISO9660)
343349
message_bool_option("GOB/LAB/LFD support" PHYSFS_ARCHIVE_LECARCHIVES)
350+
message_bool_option("POD support" PHYSFS_ARCHIVE_POD)
344351
message_bool_option("Build static library" PHYSFS_BUILD_STATIC)
345352
message_bool_option("Build shared library" PHYSFS_BUILD_SHARED)
346353
message_bool_option("Build stdio test program" PHYSFS_BUILD_TEST)

0 commit comments

Comments
 (0)