diff --git a/CMakeLists.txt b/CMakeLists.txt index 7f1e9769e..609178322 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -311,7 +311,7 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL "Generic") check_function_exists(uselocale HAVE_USELOCALE) check_function_exists(setlocale HAVE_SETLOCALE) else() - if(DEFINED 3DS) + if(DEFINED 3DS OR DEFINED WII) check_function_exists(snprintf_l HAVE_SNPRINTF_L) check_function_exists(strtof_l HAVE_STRTOF_L) check_function_exists(newlocale HAVE_NEWLOCALE)