Skip to content

Commit

Permalink
Only build memory_stats for the Dreamcast
Browse files Browse the repository at this point in the history
  • Loading branch information
azihassan committed Dec 1, 2024
1 parent 09a6e2c commit 38b599b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ include(functions/devilutionx_library)
include(functions/genex)

set(libdevilutionx_SRCS
memory_stats.cpp
appfat.cpp
automap.cpp
capture.cpp
Expand Down Expand Up @@ -282,6 +281,9 @@ if(DEVILUTIONX_SCREENSHOT_FORMAT STREQUAL DEVILUTIONX_SCREENSHOT_FORMAT_PNG)
utils/surface_to_png.cpp
)
endif()
if(PLATFORM_DREAMCAST)
list(APPEND libdevilutionx_SRCS memory_stats.cpp)
endif()

add_devilutionx_library(libdevilutionx OBJECT ${libdevilutionx_SRCS})
target_include_directories(libdevilutionx PUBLIC ${CMAKE_CURRENT_BINARY_DIR})
Expand Down

0 comments on commit 38b599b

Please sign in to comment.