Fix installation of resource limits headers

Fixes #3150
This commit is contained in:
Greg Fischer 2023-03-03 15:17:03 -07:00
parent 2ca0ee3ba4
commit aae2a7ae08
2 changed files with 3 additions and 2 deletions

View File

@ -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()

View File

@ -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)