mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 11:21:12 +08:00
[vcpkg] Fix cmake architecture detection on windows with ninja generator (#11466)
This commit is contained in:
parent
30cae466ea
commit
cbe795f788
@ -107,7 +107,7 @@ else()
|
||||
return()
|
||||
endif()
|
||||
endif()
|
||||
elseif(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "x86_64")
|
||||
elseif(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "AMD64")
|
||||
set(_VCPKG_TARGET_TRIPLET_ARCH x64)
|
||||
else()
|
||||
if( _CMAKE_IN_TRY_COMPILE )
|
||||
|
Loading…
x
Reference in New Issue
Block a user