6de37a3430
- deleted the SDL2 branches and the bundled FindSDL2 modules - made SDL3=0 and USE_SDL3=OFF hard errors
32 lines
545 B
CMake
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 ()
|