Skip to content
Snippets Groups Projects
Commit 33e075fa authored by John Kessenich's avatar John Kessenich
Browse files

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

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
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment