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:
parent
407ac52fe4
commit
688581ff39
1 changed files with 1 additions and 0 deletions
|
|
@ -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}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue