Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 3rdParty/mpqfs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ include(FetchContent)

FetchContent_Declare_ExcludeFromAll(mpqfs
GIT_REPOSITORY https://github.com/diasurgical/mpqfs.git
GIT_TAG 9423bd48d04c8a0c51d3df6ce328e66785e3b441
GIT_TAG 952490b991887cd11584e0042a06787b242eeec7
)
FetchContent_MakeAvailable_ExcludeFromAll(mpqfs)

if(MPQFS_FILE_BUFFER_SIZE)
target_compile_definitions(mpqfs PRIVATE "MPQFS_FILE_BUFFER_SIZE=${MPQFS_FILE_BUFFER_SIZE}")
endif()
endif()
2 changes: 2 additions & 0 deletions CMake/platforms/dos.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ set(DEVILUTIONX_SYSTEM_SDL_IMAGE OFF)
set(DEVILUTIONX_SYSTEM_LIBPNG OFF)
set(DEVILUTIONX_DISPLAY_PIXELFORMAT SDL_PIXELFORMAT_INDEX8)

set(MPQFS_COMPILER_EXTENSIONS ON)

set(DEVILUTIONX_PLATFORM_FILE_UTIL_LINK_LIBRARIES "")

list(APPEND DEVILUTIONX_PLATFORM_COMPILE_OPTIONS $<$<CONFIG:Debug>:-gstabs>)
Expand Down
Loading