diff options
author | Angelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr> | 2017-07-05 15:15:56 +0200 |
---|---|---|
committer | Angelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr> | 2017-07-05 15:18:25 +0200 |
commit | 2612f3320e3d1a601beb9b2b008fb475dccd1c39 (patch) | |
tree | 562b6609a6eadd9d279e977c040e0804d5623f65 | |
parent | 9b3bcda476b050130d6ee4027fdf8977dfbf4fea (diff) |
correct issue for compiling ios
Change-Id: I3ebd39ca699c24f292f975d2ead9b6fcc3e89ddf
Signed-off-by: Angelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr>
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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}) |