mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
cmake: custom generate-XXX targets must depend on outputs
This commit is contained in:
parent
9b40d43b1f
commit
53aaf8c26b
1 changed files with 1 additions and 1 deletions
|
|
@ -233,7 +233,7 @@ function(files2headers OUTPUT)
|
|||
endif()
|
||||
endforeach()
|
||||
set(${OUTPUT} "${outputs}" PARENT_SCOPE)
|
||||
add_custom_target(generate-${OUTPUT} DEPENDS ${ARGN})
|
||||
add_custom_target(generate-${OUTPUT} DEPENDS ${outputs})
|
||||
endfunction()
|
||||
|
||||
files2headers(gamepad_image_headers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue