Fix CMake build when building examples

Add subdirectory src/utils only once.

Change-Id: I3437e0a4c9ff250f4518ce485763117291889cd7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/31103
Reviewed-by: dan sinclair <dsinclair@chromium.org>
Commit-Queue: dan sinclair <dsinclair@chromium.org>
This commit is contained in:
David Neto 2020-10-27 19:38:27 +00:00 committed by Commit Bot service account
parent 36b869c846
commit 762b7c3457
1 changed files with 2 additions and 1 deletions

View File

@ -152,6 +152,7 @@ add_subdirectory(src/dawn_wire)
add_subdirectory(src/utils) add_subdirectory(src/utils)
if (DAWN_BUILD_EXAMPLES) if (DAWN_BUILD_EXAMPLES)
add_subdirectory(src/utils) #TODO(dawn:269): Add this once implementation-based swapchains are removed.
#add_subdirectory(src/utils)
add_subdirectory(examples) add_subdirectory(examples)
endif() endif()