mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 07:31:37 +08:00
[vcpkg-cmake] Fix regression in Ninja generator support for x86.
This commit is contained in:
parent
268f5f306f
commit
bf16c7f4cc
@ -18,7 +18,7 @@ if(NOT VCPKG_TOOLCHAIN)
|
||||
set(_VCPKG_TARGET_TRIPLET_ARCH x64)
|
||||
elseif(_VCPKG_CL MATCHES "arm/cl.exe$")
|
||||
set(_VCPKG_TARGET_TRIPLET_ARCH arm)
|
||||
elseif(_VCPKG_CL MATCHES "x86/cl.exe$")
|
||||
elseif(_VCPKG_CL MATCHES "bin/cl.exe$" OR _VCPKG_CL MATCHES "x86/cl.exe$")
|
||||
set(_VCPKG_TARGET_TRIPLET_ARCH x86)
|
||||
else()
|
||||
message(FATAL_ERROR "Unable to determine target architecture.")
|
||||
|
Loading…
Reference in New Issue
Block a user