try fix ninja

This commit is contained in:
coco875
2025-08-06 09:16:54 -06:00
committed by Lywx
parent 4e739661c9
commit 56c2f1c69d
2 changed files with 10 additions and 2 deletions
+7 -1
View File
@@ -1 +1,7 @@
set(CMAKE_GENERATOR_TOOLSET "clangcl")
if (CMAKE_GENERATOR MATCHES "Visual Studio")
set(CMAKE_GENERATOR_TOOLSET "clangcl")
else()
set(CMAKE_C_COMPILER clang-cl.exe)
set(CMAKE_CXX_COMPILER clang-cl.exe)
set(CMAKE_LINKER lld-link.exe)
endif()
+3 -1
View File
@@ -1 +1,3 @@
set(CMAKE_GENERATOR_TOOLSET "v143")
if (CMAKE_GENERATOR MATCHES "Visual Studio")
set(CMAKE_GENERATOR_TOOLSET "v143")
endif()