all repos — mgba @ 3a6756b3991dab1de69cafde92f196c0adddac44

mGBA Game Boy Advance Emulator

CMake: Fix build on CMake < 3.7
Vicki Pfau vi@endrift.com
Thu, 02 May 2019 19:23:02 -0700
commit

3a6756b3991dab1de69cafde92f196c0adddac44

parent

6f31fca58f019ebfd83a8232c6805cc8b3c05bd7

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M CMakeLists.txtCMakeLists.txt

@@ -360,7 +360,7 @@ endif()

check_include_files("xlocale.h" HAVE_XLOCALE) if(NOT CMAKE_SYSTEM_NAME STREQUAL "Generic") check_function_exists(snprintf_l HAVE_SNPRINTF_L) - if(ANDROID AND ANDROID_NDK_MAJOR GREATER_EQUAL 14) + if(ANDROID AND ANDROID_NDK_MAJOR GREATER 13) set(HAVE_STRTOF_L ON) elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux") # The strtof_l on Linux not actually exposed nor actually strtof_l