From 28ae1471bf2cfbd4e4ec3a0addcc0953d159a008 Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Wed, 7 Oct 2020 15:55:13 +0000 Subject: [PATCH] Exclude spirv-tools from the all build target. This CL moves spirv-tools so that it will only build what is requested. This means that the tool binaries will not be built as part of tint as they aren't needed. Change-Id: Idd89b45facbe835948c57fe6dda6068657a2f822 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/29660 Commit-Queue: dan sinclair Commit-Queue: Ryan Harrison Reviewed-by: Ryan Harrison --- third_party/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt index 2cc80834a0..b914810855 100644 --- a/third_party/CMakeLists.txt +++ b/third_party/CMakeLists.txt @@ -23,6 +23,6 @@ if(${TINT_BUILD_SPV_READER} OR ${TINT_BUILD_SPV_WRITER}) if (NOT TARGET SPIRV-Tools) set(SPIRV_SKIP_TESTS ON CACHE BOOL ON) - add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/spirv-tools) + add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/spirv-tools EXCLUDE_FROM_ALL) endif() endif()