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.
This commit is contained in:
James Benton 2018-06-04 18:09:49 +01:00
parent 7019171841
commit 0556f4627b

View File

@ -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")