summaryrefslogtreecommitdiff
path: root/data/CMakeLists.txt
blob: cda330c7481cc5c3c2fc1be07af0a773537d2775 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
file(GLOB_RECURSE DATA_FILES
     fonts/*.ttf
     graphics/*.png
     graphics/*.xml
     help/*.txt
     icons/*.hqx
     icons/*.icns
     icons/*.ico
     icons/*.png
     icons/*.svg
     icons/*.xpm
     music/*.ogg
     sfx/*.ogg
     sfx/*.wav)

# Add a custom target to make sure the data files are visible in IDEs
add_custom_target(data SOURCES ${DATA_FILES})

install(DIRECTORY fonts graphics help icons music sfx
        DESTINATION ${CMAKE_INSTALL_DATADIR}/data)