SDL_shadercross: cmake: disable SPIRV_TESTS targets of DirectXShaderCompiler

From 7b7365a86611b2a7b6462e521cf1c43a037d0970 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Tue, 30 Dec 2025 19:18:00 +0100
Subject: [PATCH] cmake: disable SPIRV_TESTS targets of DirectXShaderCompiler

---
 CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 424bdde..8263fea 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -129,6 +129,7 @@ if(SDLSHADERCROSS_VENDORED)
 		set(HLSL_INCLUDE_TESTS OFF)
 		set(LLVM_INCLUDE_TESTS OFF)
 		set(HLSL_DISABLE_SOURCE_GENERATION TRUE)
+		set(SPIRV_BUILD_TESTS FALSE)
 		include(external/DirectXShaderCompiler/cmake/caches/PredefinedParams.cmake)
 		add_subdirectory(external/DirectXShaderCompiler EXCLUDE_FROM_ALL)
 		add_library(DirectXShaderCompiler::dxcompiler ALIAS dxcompiler)