From 00b5841597742ec3bb902d9d927e962d4b2ba124 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Thu, 7 May 2020 12:13:52 +0200 Subject: [PATCH] cmake android: add backslashes for host compatibility --- client/android/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/android/CMakeLists.txt b/client/android/CMakeLists.txt index 1e03d1658..fc7c759bb 100644 --- a/client/android/CMakeLists.txt +++ b/client/android/CMakeLists.txt @@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 3.4.1) # NDK version for SDK 19 doesn't implement the whole C++11 standard in the STL. # see: https://stackoverflow.com/questions/44736135/ndk-clang-error-undefined-reference-to-localeconv # so we need add def getlocaledecpoint()='.' -add_definitions(-DANDROID -D"getlocaledecpoint()='.'" -DZ_SOLO) +add_definitions(-DANDROID -D"getlocaledecpoint\(\)='.'" -DZ_SOLO) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -O3 -fvisibility=hidden -w")