Files
dobbry-vechur 6de37a3430 Remove SDL2 from the build systems
- deleted the SDL2 branches and the bundled FindSDL2 modules
- made SDL3=0 and USE_SDL3=OFF hard errors
2026-08-12 05:46:34 +04:00

32 lines
545 B
CMake

set(CATACLYSM_DATA_DIRS
font
json
mods
names
raw
motd
credits
title
core
screenshots
xdg
help)
if (SOUND)
list(APPEND CATACLYSM_DATA_DIRS sound)
endif ()
if (TILES)
list(APPEND CATACLYSM_DATA_DIRS shaders)
endif ()
set(CATACLYSM_DATA_FILES
changelog.txt
cataicon.ico
fontdata.json)
if (RELEASE)
install(DIRECTORY ${CATACLYSM_DATA_DIRS} TYPE DATA)
install(FILES ${CATACLYSM_DATA_FILES} TYPE DATA)
endif ()