Meta: Ensure we install resource files when those resource files change

This commit is contained in:
Timothy Flynn 2024-03-18 12:38:58 -04:00 committed by Tim Flynn
parent a729677561
commit 2f85620b43
Notes: sideshowbarker 2024-07-17 22:41:14 +09:00

View file

@ -106,6 +106,7 @@ function(copy_resource_set subdir)
add_custom_command(
OUTPUT ${outputs}
DEPENDS ${inputs}
COMMAND "${CMAKE_COMMAND}" -E make_directory "${COPY_DESTINATION}/${subdir}"
COMMAND "${CMAKE_COMMAND}" -E copy_if_different "${inputs}" "${COPY_DESTINATION}/${subdir}"
COMMAND_EXPAND_LISTS