1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

CMake: Make binary data targets depend on their inputs

This commit is contained in:
reuk 2020-05-05 21:47:18 +01:00
parent 407ac52fe4
commit 688581ff39
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11

View file

@ -764,6 +764,7 @@ function(juce_add_binary_data target)
COMMAND juce::juceaide binarydata "${JUCE_ARG_NAMESPACE}" "${JUCE_ARG_HEADER_NAME}"
${juce_binary_data_folder} ${JUCE_ARG_SOURCES}
WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
DEPENDS ${JUCE_ARG_SOURCES}
VERBATIM)
target_sources(${target} PRIVATE "${binary_file_names}")