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")
|
||||
endif()
|
||||
|
||||
if(ENV{DEVKITARM)
|
||||
if(DEFINED ENV{DEVKITARM})
|
||||
set(DEVKITARM $ENV{DEVKITARM})
|
||||
else()
|
||||
set(DEVKITARM ${DEVKITPRO}/devkitARM)
|
||||
|
|
Loading…
Reference in New Issue