From a14948fe8416f3c11351ac885100b2facef06e99 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sun, 5 Sep 2021 15:28:46 -0700 Subject: [PATCH] Vita: Build fixes --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c3334c132..54133670f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)