From 0556f4627be2fc27023a35073b6962d9aca2e5ef Mon Sep 17 00:00:00 2001 From: James Benton Date: Mon, 4 Jun 2018 18:09:49 +0100 Subject: [PATCH] cmake: Explicitly set CMAKE_CROSSCOMPILING. Not actually required because it is implicitly set when you modify CMAKE_SYSTEM_NAME, but it's nice to be explicit. --- share/wut.toolchain.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/wut.toolchain.cmake b/share/wut.toolchain.cmake index 24193d8..e4178d4 100644 --- a/share/wut.toolchain.cmake +++ b/share/wut.toolchain.cmake @@ -1,8 +1,9 @@ cmake_minimum_required(VERSION 3.2) -set(CMAKE_SYSTEM_PROCESSOR "ppc") set(CMAKE_SYSTEM_NAME Generic) set(CMAKE_SYSTEM_VERSION 1) +set(CMAKE_SYSTEM_PROCESSOR "ppc") +set(CMAKE_CROSSCOMPILING 1) set(DEVKITPPC $ENV{DEVKITPPC} CACHE STRING "Path to devkitPPC install") set(WUT_ROOT $ENV{WUT_ROOT} CACHE STRING "Path to wut install")