3DS: Fix loading DEVKITARM from environment
Jeffrey Pfau jeffrey@endrift.com
Thu, 12 Mar 2015 00:07:31 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
M
src/platform/3ds/CMakeToolchain.txt
→
src/platform/3ds/CMakeToolchain.txt
@@ -4,7 +4,7 @@ else()
message(FATAL_ERROR "Could not find DEVKITPRO in environment") endif() -if(ENV{DEVKITARM) +if(DEFINED ENV{DEVKITARM}) set(DEVKITARM $ENV{DEVKITARM}) else() set(DEVKITARM ${DEVKITPRO}/devkitARM)