diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 6372f9dd5a7..804a38b9c43 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -3,7 +3,6 @@ include(functions/devilutionx_library) include(functions/genex) set(libdevilutionx_SRCS - memory_stats.cpp appfat.cpp automap.cpp capture.cpp @@ -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})