mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-08 11:30:06 +00:00
parent
2ca0ee3ba4
commit
aae2a7ae08
@ -233,7 +233,7 @@ if(${CMAKE_VERSION} VERSION_LESS 3.1)
|
||||
# remove this block once CMake >=3.1 has fixated in the ecosystem
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
||||
else()
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
endif()
|
||||
|
@ -250,7 +250,8 @@ if(ENABLE_GLSLANG_INSTALL)
|
||||
|
||||
set(ALL_HEADERS
|
||||
${GLSLANG_HEADERS}
|
||||
${MACHINEINDEPENDENT_HEADERS})
|
||||
${MACHINEINDEPENDENT_HEADERS}
|
||||
${RESOURCELIMITS_HEADERS})
|
||||
|
||||
foreach(file ${ALL_HEADERS})
|
||||
get_filename_component(dir ${file} DIRECTORY)
|
||||
|
Loading…
Reference in New Issue
Block a user