The following issue has been SUBMITTED.
======================================================================
https://public.kitware.com/Bug/view.php?id=15852
======================================================================
Reported By: A. Klitzing
Assigned To:
======================================================================
Project: CMake
Issue ID: 15852
Category: (No Category)
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2015-11-19 08:45 EST
Last Modified: 2015-11-19 08:45 EST
======================================================================
Summary: CMAKE_CXX_STANDARD broken since CMake 3.4.0 for
Android
Description:
We use the Android NDK/SDK and CMake (with Toolchain file [1]) to build our
program.
If we build our program with CMake 3.4.0 we will get compiler errors that we
need to enable "-std=c++11 or -std=gnu++11". If we switch back to CMake 3.3.2
the flags will be defined by CMake and the build works.
In our cmake files:
SET(CMAKE_CXX_STANDARD 11)
SET(CMAKE_CXX_STANDARD_REQUIRED ON)
[1] https://github.com/taka-no-me/android-cmake
Additional Information:
-- ANDROID_NDK_RELEASE: r10e
-- ANDROID_ABI: armeabi-v7a
-- ANDROID_NATIVE_API_LEVEL: 18
-- ANDROID_TOOLCHAIN_ROOT:
/opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64
-- ANDROID_SYSROOT: /opt/android-ndk/platforms/android-18/arch-arm
-- ANDROID_TOOLCHAIN_NAME: arm-linux-androideabi-4.9
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2015-11-19 08:45 A. Klitzing New Issue
======================================================================
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers