Merge pull request #706 from Ralith/install-headers

Install headers
This commit is contained in:
John Kessenich 2017-01-29 20:44:31 -07:00 committed by GitHub
commit 7e134cdfbe
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()