diff options
-rw-r--r-- | data/CMakeLists.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index 2ec887cc..cda330c7 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -1,2 +1,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) |