mirror of https://github.com/mgba-emu/mgba.git
3DS: Fix loading DEVKITARM from environment
This commit is contained in:
parent
1a3425d31d
commit
9dc49df0bc
|
@ -4,7 +4,7 @@ else()
|
||||||
message(FATAL_ERROR "Could not find DEVKITPRO in environment")
|
message(FATAL_ERROR "Could not find DEVKITPRO in environment")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(ENV{DEVKITARM)
|
if(DEFINED ENV{DEVKITARM})
|
||||||
set(DEVKITARM $ENV{DEVKITARM})
|
set(DEVKITARM $ENV{DEVKITARM})
|
||||||
else()
|
else()
|
||||||
set(DEVKITARM ${DEVKITPRO}/devkitARM)
|
set(DEVKITARM ${DEVKITPRO}/devkitARM)
|
||||||
|
|
Loading…
Reference in New Issue