aboutsummaryrefslogtreecommitdiff
path: root/res/functions.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'res/functions.cmake')
-rw-r--r--res/functions.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/res/functions.cmake b/res/functions.cmake
index 723e922..2a7e7c3 100644
--- a/res/functions.cmake
+++ b/res/functions.cmake
@@ -35,6 +35,7 @@ function(sprite)
VERBATIM)
add_custom_target(${SPRITE_NAME}_img
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${SPRITE_NAME})
+ add_dependencies(${PROJECT_NAME} ${SPRITE_NAME}_img)
add_dependencies(${SPRITE_NAME}_img tools)
endif()
endfunction()
@@ -73,6 +74,7 @@ function(sound)
VERBATIM)
add_custom_target(${SOUND_NAME}_snd
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${SOUND_NAME})
+ add_dependencies(${PROJECT_NAME} ${SOUND_NAME}_snd)
add_dependencies(${SOUND_NAME}_snd tools)
endif()
endfunction()