From 2612f3320e3d1a601beb9b2b008fb475dccd1c39 Mon Sep 17 00:00:00 2001 From: "Angelo Mantellini (manangel)" Date: Wed, 5 Jul 2017 15:15:56 +0200 Subject: correct issue for compiling ios Change-Id: I3ebd39ca699c24f292f975d2ead9b6fcc3e89ddf Signed-off-by: Angelo Mantellini (manangel) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 22573803..6d7b834a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -102,7 +102,7 @@ if(ANDROID_API) set(ANDROID_LIBRARIES "${ANDROID_NDK}/platforms/android-24/arch-arm/usr/lib/libz.a" "${ANDROID_NDK}/platforms/android-24/arch-arm/usr/lib/liblog.so" "$ENV{NDK}/sources/cxx-stl/gnu-libstdc++/4.9/libs/$ENV{ABI}/libgnustl_shared.so") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ANDROID_C_FLAGS} -Wall") else() - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -Wall") if (NOT COMPILE_FOR_IOS) if (BUILD_APPS) set(SUBFOLDERS ${APPS}) -- cgit 1.2.3-korg