mirror of https://github.com/mgba-emu/mgba.git
Vita: Build fixes
This commit is contained in:
parent
c5c6948653
commit
a14948fe84
|
@ -329,7 +329,7 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL "Generic")
|
||||||
check_function_exists(uselocale HAVE_USELOCALE)
|
check_function_exists(uselocale HAVE_USELOCALE)
|
||||||
check_function_exists(setlocale HAVE_SETLOCALE)
|
check_function_exists(setlocale HAVE_SETLOCALE)
|
||||||
else()
|
else()
|
||||||
if(DEFINED 3DS OR DEFINED WII OR DEFINED SWITCH)
|
if(DEFINED 3DS OR DEFINED WII OR DEFINED SWITCH OR DEFINED PSP2)
|
||||||
set(CMAKE_REQUIRED_FLAGS -Wl,--require-defined,snprintf_l)
|
set(CMAKE_REQUIRED_FLAGS -Wl,--require-defined,snprintf_l)
|
||||||
check_function_exists(snprintf_l HAVE_SNPRINTF_L)
|
check_function_exists(snprintf_l HAVE_SNPRINTF_L)
|
||||||
set(CMAKE_REQUIRED_FLAGS -Wl,--require-defined,strtof_l)
|
set(CMAKE_REQUIRED_FLAGS -Wl,--require-defined,strtof_l)
|
||||||
|
|
Loading…
Reference in New Issue