mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
CMake: target triple for MSVC on Windows 64.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78753 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1095f2ae26
commit
9f817031f1
@ -3,7 +3,11 @@
|
||||
|
||||
function( get_target_triple var )
|
||||
if( MSVC )
|
||||
set( ${var} "i686-pc-win32" PARENT_SCOPE )
|
||||
if( CMAKE_CL_64 )
|
||||
set( ${var} "x86_64-pc-win32" PARENT_SCOPE )
|
||||
else()
|
||||
set( ${var} "i686-pc-win32" PARENT_SCOPE )
|
||||
endif()
|
||||
else( MSVC )
|
||||
set(config_guess ${LLVM_MAIN_SRC_DIR}/autoconf/config.guess)
|
||||
execute_process(COMMAND sh ${config_guess}
|
||||
|
Loading…
Reference in New Issue
Block a user