Install headers

This enables the vulkan loader to be built against an installed glslang.
This commit is contained in:
Benjamin Saunders 2017-01-29 17:45:12 -08:00
parent 62c3e400cf
commit 5a074532af
2 changed files with 7 additions and 0 deletions

View File

@ -53,3 +53,5 @@ endif(WIN32)
install(TARGETS SPIRV SPVRemapper
ARCHIVE DESTINATION lib)
install(FILES ${HEADERS} ${SPVREMAP_HEADERS} DESTINATION include/SPIRV/)

View File

@ -97,3 +97,8 @@ endif(WIN32)
install(TARGETS glslang
ARCHIVE DESTINATION lib)
foreach(file ${HEADERS})
get_filename_component(dir ${file} DIRECTORY)
install(FILES ${file} DESTINATION include/glslang/${dir})
endforeach()