From a382cf3647b8fa8e7bae9d73f0fa9a6d4f680522 Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 17 Sep 2022 11:36:53 +0200 Subject: Changed to install ogg files directly into the file system The current implementation of ogg loaded uses exclusively ov_open. The loader will need to be switched to ov_open_callbacks to support loading from the memory. --- data/CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index 260c069..4fcd4e3 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -1,5 +1,6 @@ include(AddDatafile) include(AddDownloadableResource) +include(InstallResource) add_downloadable_resource( resource_content SHA1 3b4ffe85a9445e39366c5b503ad192388fab0d55 @@ -33,7 +34,7 @@ add_downloadable_resource( add_datafile(content RESOURCES resource_content) add_datafile(shatter RESOURCES resource_shatter) add_datafile(start RESOURCES resource_start) -add_datafile(vox SKIP_SOURCE RESOURCES resource_vox_campaign resource_vox_music resource_vox_original) +add_datafile(vox SKIP_SOURCE RESOURCES resource_vox_original) install( FILES ${CMAKE_CURRENT_BINARY_DIR}/content.dat @@ -42,3 +43,8 @@ install( ${CMAKE_CURRENT_BINARY_DIR}/vox.dat DESTINATION ${CMAKE_INSTALL_PREFIX} ) +install_resource( + resource_vox_campaign + resource_vox_music + DESTINATION ${CMAKE_INSTALL_PREFIX}/ + ) -- cgit v1.1