Merge pull request #1890 from peterjc123:clang_fix
PiperOrigin-RevId: 218515152
This commit is contained in:
commit
6463ee81ae
|
@ -1,5 +1,12 @@
|
|||
cmake_minimum_required(VERSION 2.8.8)
|
||||
add_definitions(-std=c++11)
|
||||
|
||||
if (CMAKE_VERSION VERSION_LESS "3.1")
|
||||
add_definitions(-std=c++11)
|
||||
else()
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
endif()
|
||||
|
||||
if (POLICY CMP0048)
|
||||
cmake_policy(SET CMP0048 NEW)
|
||||
|
|
Loading…
Reference in New Issue
Block a user