Dawn reset
This commit is contained in:
@ -31,7 +31,7 @@ function(tool_texture target)
|
||||
message(FATAL_ERROR "Missing FILE input")
|
||||
endif()
|
||||
|
||||
add_custom_target(${target}
|
||||
add_custom_target(${target}_texture
|
||||
COMMAND ${DAWN_TOOLS_DIR}/texturetool/texturetool.py
|
||||
--input="${FILE}"
|
||||
--output="${DAWN_ASSETS_BUILD_DIR}/${target}.texture"
|
||||
@ -46,5 +46,5 @@ function(tool_texture target)
|
||||
--crop-end-y="${CROP_END_Y}"
|
||||
COMMENT "Generating texture ${target} from ${FILE}"
|
||||
)
|
||||
add_dependencies(dawnassets ${target})
|
||||
add_dependencies(dawnassets ${target}_texture)
|
||||
endfunction()
|
Reference in New Issue
Block a user