HomePhabricator

[CMake] Use -std=c++11 if supported

Description

[CMake] Use -std=c++11 if supported

Summary: 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.

Reviewers: EricWF

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D24007

Details

Committed
cbienemanAug 29 2016, 3:12 PM
Differential Revision
D24007: [CMake] Use -std=c++11 if supported
Parents
rL280020: [SLP] Return a boolean value for these static helpers. NFC.
Branches
Unknown
Tags
Unknown