mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 05:50:42 +00:00
Merge topic 'CMAKE_CL_64-CXX'
fe664b5
MSVC: Fix CMAKE_CL_64 in CXX-only projects (#13896)
This commit is contained in:
commit
2cd362d191
@ -107,7 +107,7 @@ if(NOT MSVC_VERSION)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(MSVC_C_ARCHITECTURE_ID MATCHES 64)
|
||||
if(MSVC_C_ARCHITECTURE_ID MATCHES 64 OR MSVC_CXX_ARCHITECTURE_ID MATCHES 64)
|
||||
set(CMAKE_CL_64 1)
|
||||
else()
|
||||
set(CMAKE_CL_64 0)
|
||||
|
Loading…
Reference in New Issue
Block a user