summaryrefslogtreecommitdiffhomepage
path: root/cmake/modules/AddDownloadableResource.cmake
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-02-09 19:43:48 +0100
committerAki <please@ignore.pl>2022-02-09 19:43:48 +0100
commit3f07a2c060c5c6d53ca6c066f50ec91bcf04b52d (patch)
treee18928dc0dcc4fad5a0647461dad843125e9bcaa /cmake/modules/AddDownloadableResource.cmake
parent04ffc5ef04343d7d8e5490bc0f00068f54793a5b (diff)
downloadstarshatter-3f07a2c060c5c6d53ca6c066f50ec91bcf04b52d.zip
starshatter-3f07a2c060c5c6d53ca6c066f50ec91bcf04b52d.tar.gz
starshatter-3f07a2c060c5c6d53ca6c066f50ec91bcf04b52d.tar.bz2
Fixed some small issues where datafile builds would not trigger
Some cases still remain but with the current setup they would be rather hard to fix, and they have simple workaround (make clean all).
Diffstat (limited to 'cmake/modules/AddDownloadableResource.cmake')
-rw-r--r--cmake/modules/AddDownloadableResource.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/AddDownloadableResource.cmake b/cmake/modules/AddDownloadableResource.cmake
index d0374ad..9d00f58 100644
--- a/cmake/modules/AddDownloadableResource.cmake
+++ b/cmake/modules/AddDownloadableResource.cmake
@@ -69,7 +69,7 @@ function(add_downloadable_resource)
)
add_custom_command(
OUTPUT ${RESOURCE_DIRECTORY}
- DEPENDS download_${RESOURCE_TARGET}
+ DEPENDS download_${RESOURCE_TARGET} ${RESOURCE_ARCHIVE}
COMMENT "Unpacking ${RESOURCE_TARGET}"
COMMAND ${CMAKE_COMMAND} -E make_directory ${RESOURCE_DIRECTORY}
COMMAND