diff --git a/cmake/ctr.cmake b/cmake/ctr.cmake index c0dc12bd..8d48c594 100644 --- a/cmake/ctr.cmake +++ b/cmake/ctr.cmake @@ -1,7 +1,11 @@ set(CMAKE_C_COMPILER "$ENV{DEVKITARM}/bin/arm-none-eabi-gcc") set(CMAKE_CXX_COMPILER "$ENV{DEVKITARM}/bin/arm-none-eabi-g++") set(CMAKE_AR "$ENV{DEVKITARM}/bin/arm-none-eabi-gcc-ar") +set(CMAKE_C_COMPILER_AR "$ENV{DEVKITARM}/bin/arm-none-eabi-gcc-ar") +set(CMAKE_CXX_COMPILER_AR "$ENV{DEVKITARM}/bin/arm-none-eabi-gcc-ar") set(CMAKE_RANLIB "$ENV{DEVKITARM}/bin/arm-none-eabi-gcc-ranlib") +set(CMAKE_C_COMPILER_RANLIB "$ENV{DEVKITARM}/bin/arm-none-eabi-gcc-ranlib") +set(CMAKE_CXX_COMPILER_RANLIB "$ENV{DEVKITARM}/bin/arm-none-eabi-gcc-ranlib") set(CMAKE_SYSTEM_PROCESSOR armv6k) set(CMAKE_SYSTEM_NAME Generic) set(CMAKE_CROSSCOMPILING ON)