diff options
author | shibayan <me@shibayan.jp> | 2019-12-10 17:40:46 (GMT) |
---|---|---|
committer | shibayan <me@shibayan.jp> | 2019-12-10 17:40:46 (GMT) |
commit | ea882b4aa9e199a312c656d050710fd9a405cfdd (patch) | |
tree | a44231b040644fef60e34e6813a4aaf040eb3032 /Modules/Platform/Windows-MSVC.cmake | |
parent | 25b7456f0e2301484ab74679886d006cf403b4b1 (diff) | |
download | CMake-ea882b4aa9e199a312c656d050710fd9a405cfdd.zip CMake-ea882b4aa9e199a312c656d050710fd9a405cfdd.tar.gz CMake-ea882b4aa9e199a312c656d050710fd9a405cfdd.tar.bz2 |
MSVC: Fixed missing import library for Windows 10 ARM64 (Desktop)
Add the same import library as x86/x64 by default for Windows 10 ARM64 (Desktop, not UWP).
Fixes: #20077
Diffstat (limited to 'Modules/Platform/Windows-MSVC.cmake')
-rw-r--r-- | Modules/Platform/Windows-MSVC.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-MSVC.cmake b/Modules/Platform/Windows-MSVC.cmake index 34f5d03..e1d6733 100644 --- a/Modules/Platform/Windows-MSVC.cmake +++ b/Modules/Platform/Windows-MSVC.cmake @@ -217,7 +217,7 @@ elseif(WINDOWS_PHONE OR WINDOWS_STORE) else() set(_PLATFORM_DEFINES "/DWIN32") - if(_MSVC_C_ARCHITECTURE_FAMILY STREQUAL "ARM" OR _MSVC_CXX_ARCHITECTURE_FAMILY STREQUAL "ARM" OR _MSVC_C_ARCHITECTURE_FAMILY STREQUAL "ARM64" OR _MSVC_CXX_ARCHITECTURE_FAMILY STREQUAL "ARM64") + if(_MSVC_C_ARCHITECTURE_FAMILY STREQUAL "ARM" OR _MSVC_CXX_ARCHITECTURE_FAMILY STREQUAL "ARM") set(CMAKE_C_STANDARD_LIBRARIES_INIT "kernel32.lib user32.lib") elseif(MSVC_VERSION GREATER 1310) if(CMAKE_VS_PLATFORM_TOOLSET MATCHES "v[0-9]+_clang_.*") |