cmake: custom generate-XXX targets must depend on outputs
This commit is contained in:
1 parent
9b40d43b1f
commit
53aaf8c26b
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user