From 2f7a96e381249f66bb591f9bef82f0b19f742221 Mon Sep 17 00:00:00 2001 From: James Benton Date: Sun, 27 May 2018 12:10:58 +0100 Subject: [PATCH] Pass DEVKITPPC down to child CMake builds. --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8b3e575..91f8417 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,8 +38,9 @@ externalproject_add(cafe CMAKE_GENERATOR "Unix Makefiles" INSTALL_DIR "${WUT_STAGING}" CMAKE_CACHE_ARGS - -DWUT_RPLGEN:filepath=$ + -DDEVKITPPC:string=${DEVKITPPC} -DWUT_ROOT:filepath=${WUT_ROOT} + -DWUT_RPLGEN:filepath=$ -DCMAKE_TOOLCHAIN_FILE:filepath=${WUT_TOOLCHAIN} -DCMAKE_INSTALL_PREFIX:string= DEPENDS rplgen @@ -50,6 +51,7 @@ externalproject_add(libraries CMAKE_GENERATOR "Unix Makefiles" INSTALL_DIR "${WUT_STAGING}" CMAKE_CACHE_ARGS + -DDEVKITPPC:string=${DEVKITPPC} -DWUT_ROOT:filepath=${WUT_ROOT} -DCMAKE_TOOLCHAIN_FILE:filepath=${WUT_TOOLCHAIN} -DCMAKE_INSTALL_PREFIX:string=