diff options
-rw-r--r-- | llvm/cmake/modules/GetHostTriple.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/cmake/modules/GetHostTriple.cmake b/llvm/cmake/modules/GetHostTriple.cmake index 0cad1db4eff..019188a59cc 100644 --- a/llvm/cmake/modules/GetHostTriple.cmake +++ b/llvm/cmake/modules/GetHostTriple.cmake @@ -3,7 +3,7 @@ function( get_host_triple var ) if( MSVC ) - if( CMAKE_CL_64 ) + if( CMAKE_SIZEOF_VOID_P EQUAL 8 ) set( value "x86_64-pc-win32" ) else() set( value "i686-pc-win32" ) |