diff options
author | alan-baker <33432579+alan-baker@users.noreply.github.com> | 2018-09-27 16:44:01 +0300 |
---|---|---|
committer | Lei Zhang <antiagainst@google.com> | 2018-09-27 16:44:01 +0300 |
commit | a78fa0978d6415bc53465a5c075d291ba71df12b (patch) | |
tree | 60bdd57e6d2e1686eddaa415a5f905cc437590d7 /CMakeLists.txt | |
parent | 80564a56ec85b0aa083111a3e153d84a680bec02 (diff) |
Set the C++ version to C++11 (#1933)
This reverts commit bfcdc913c4184430e4fca6923683c62723bf5956.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 26e2d5ab2..27655b903 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,6 +32,7 @@ include(GNUInstallDirs) include(cmake/setup_build.cmake) set(CMAKE_POSITION_INDEPENDENT_CODE ON) +set(CMAKE_CXX_STANDARD 11) if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") add_definitions(-DSPIRV_LINUX) |