The following issue has been SUBMITTED. ====================================================================== https://public.kitware.com/Bug/view.php?id=15943 ====================================================================== Reported By: senz Assigned To: ====================================================================== Project: CMake Issue ID: 15943 Category: CMake Reproducibility: always Severity: major Priority: high Status: new ====================================================================== Date Submitted: 2016-01-29 12:24 EST Last Modified: 2016-01-29 12:24 EST ====================================================================== Summary: CMAKE_CXX_STANDARD not working on non-apple clang++ Description: cmake does not set standard related flags on non-apple clang++ ignoring CMAKE_CXX_STANDARD var or/and CXX_STANDARD propery.
Steps to Reproduce: # brew install llvm --with-clang --with-libcxx --with-rtti # export PATH=/usr/local/opt/llvm/bin:$PATH # export CXX=/usr/local/opt/llvm/bin/clang++ # export CC=/usr/local/opt/llvm/bin/clang cmake project with set (CMAKE_CXX_STANDARD 14) set (CMAKE_CXX_STANDARD_REQUIRED ON) # make VERBOSE=1 no -std=c++14 flag ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2016-01-29 12:24 senz 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
