This revision was automatically updated to reflect the committed changes.
Closed by commit rL280021: [CMake] Use -std=c++11 if supported (authored by
cbieneman).
Changed prior to commit:
https://reviews.llvm.org/D24007?vs=69619&id=69624#toc
Repository:
rL LLVM
https://reviews.llvm.org/D2400
EricWF accepted this revision.
EricWF added a comment.
This revision is now accepted and ready to land.
LGTM. I'm surprised we don't already require C++11.
Comment at: cmake/config-ix.cmake:40
@@ -39,1 +39,3 @@
check_cxx_compiler_flag(/GR- LIBCXXABI_HAS_NO_GR_F
beanz created this revision.
beanz added a reviewer: EricWF.
beanz added a subscriber: cfe-commits.
This patch adds a check for if -std=c++11 is a supported flag, and adds it to
CMAKE_CXX_FLAGS if it is supported.
https://reviews.llvm.org/D24007
Files:
cmake/config-ix.cmake
Index: cmake/conf