Tweak toolchain fix
This commit is contained in:
parent
5d4f83c53a
commit
7376d3e625
|
@ -7,8 +7,8 @@ SET(CMAKE_SYSTEM_VERSION 1)
|
|||
set(CMAKE_CROSSCOMPILING TRUE)
|
||||
|
||||
IF(WIN32)
|
||||
set(CMAKE_C_COMPILER $ENV{KOS_CC_BASE}/bin/sh-elf-gcc${CMAKE_EXECUTABLE_SUFFIX})
|
||||
set(CMAKE_CXX_COMPILER $ENV{KOS_CC_BASE}/bin/sh-elf-g++${CMAKE_EXECUTABLE_SUFFIX})
|
||||
set(CMAKE_C_COMPILER $ENV{KOS_CC_BASE}/bin/sh-elf-gcc.exe)
|
||||
set(CMAKE_CXX_COMPILER $ENV{KOS_CC_BASE}/bin/sh-elf-g++.exe)
|
||||
ELSE()
|
||||
set(CMAKE_C_COMPILER $ENV{KOS_CC_BASE}/bin/sh-elf-gcc)
|
||||
set(CMAKE_CXX_COMPILER $ENV{KOS_CC_BASE}/bin/sh-elf-g++)
|
||||
|
|
Loading…
Reference in New Issue
Block a user