From d800dad58b12be2554e35aafcb3ed6125838c3f8 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sun, 10 May 2026 14:42:26 +0200 Subject: [PATCH] Build: Remove compiler flags not supported by clang-cl --- cmake/compiler/msvc/settings.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/compiler/msvc/settings.cmake b/cmake/compiler/msvc/settings.cmake index de2327a55a..6701c33f13 100644 --- a/cmake/compiler/msvc/settings.cmake +++ b/cmake/compiler/msvc/settings.cmake @@ -48,7 +48,7 @@ if("${CMAKE_MAKE_PROGRAM}" MATCHES "MSBuild") target_compile_options(trinity-compile-option-interface INTERFACE /MP) -else() +elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") # Forces writes to the PDB file to be serialized through mspdbsrv.exe (/FS) # Enable faster PDB generation in parallel builds by minimizing RPC calls to mspdbsrv.exe (/Zf) target_compile_options(trinity-compile-option-interface