Commit 33e075fa by John Kessenich

glslang build: force the use of -std=c++11 when building with Clang. David Neto…

glslang build: force the use of -std=c++11 when building with Clang. David Neto <dneto@google.com>. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31583 e7fa87d3-cd2b-0410-9028-fcbf551c1848
parent b61b8218
......@@ -15,6 +15,8 @@ endif(WIN32)
if(CMAKE_COMPILER_IS_GNUCXX)
add_definitions(-std=c++11)
elseif(${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
add_definitions(-std=c++11)
endif()
add_subdirectory(glslang)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment