mirror of
https://github.com/SphereServer/Source-X
synced 2026-08-13 10:23:05 -04:00
Fix building on MSVC 18 (2026)
This commit is contained in:
parent
c8001d81f6
commit
ab2f8d29cb
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ function(toolchain_after_project)
|
|||
if(NOT CMAKE_VS_PLATFORM_NAME)
|
||||
set(CMAKE_VS_PLATFORM_NAME "${CMAKE_VS_PLATFORM_NAME_DEFAULT}")
|
||||
endif()
|
||||
if(${CMAKE_VS_PLATFORM_NAME} STREQUAL "Win32")
|
||||
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
|
||||
set(CMAKE_SYSTEM_PROCESSOR "x86" CACHE INTERNAL "" FORCE)
|
||||
endif()
|
||||
set(CMAKE_SYSTEM_PROCESSOR "${CMAKE_VS_PLATFORM_NAME}" CACHE INTERNAL "" FORCE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue