vcpkg/ports/dawn/009-fix-tint-install.patch

15 lines
498 B
Diff

diff --git a/src/tint/CMakeLists.txt b/src/tint/CMakeLists.txt
index 489e2e9a0a..48e9b23909 100644
--- a/src/tint/CMakeLists.txt
+++ b/src/tint/CMakeLists.txt
@@ -766,3 +766,9 @@ if (TINT_ENABLE_INSTALL)
install(FILES ${TINT_ROOT_SOURCE_DIR}/${TINT_HEADER_FILE} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/src/tint/${TINT_HEADER_DIR})
endforeach ()
endif()
+
+if(TINT_BUILD_CMD_TOOLS)
+ install(TARGETS tint_cmd_tint_cmd
+ RUNTIME DESTINATION bin
+ BUNDLE DESTINATION bin)
+endif()