Fix installation of resource limits headers

Fixes #3150
This commit is contained in:
Greg Fischer 2023-03-03 15:17:03 -07:00 committed by kd-11
parent 4d1dd71a89
commit 1fc6f81b44
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)