Vita: Build fixes

This commit is contained in:
Vicki Pfau 2021-09-05 15:28:46 -07:00
parent c5c6948653
commit a14948fe84
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL "Generic")
check_function_exists(uselocale HAVE_USELOCALE)
check_function_exists(setlocale HAVE_SETLOCALE)
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)
check_function_exists(snprintf_l HAVE_SNPRINTF_L)
set(CMAKE_REQUIRED_FLAGS -Wl,--require-defined,strtof_l)