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:
parent
36b869c846
commit
762b7c3457
|
@ -152,6 +152,7 @@ add_subdirectory(src/dawn_wire)
|
|||
add_subdirectory(src/utils)
|
||||
|
||||
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)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue