e0e27c83ab
Also added asserts to ensure everything stays in sync.
27 lines
815 B
Diff
27 lines
815 B
Diff
diff --git a/SPIRV/CMakeLists.txt b/SPIRV/CMakeLists.txt
|
|
index 48a6c46..593d941 100755
|
|
--- a/SPIRV/CMakeLists.txt
|
|
+++ b/SPIRV/CMakeLists.txt
|
|
@@ -42,3 +42,8 @@ endif(WIN32)
|
|
|
|
install(TARGETS SPIRV SPVRemapper
|
|
ARCHIVE DESTINATION lib)
|
|
+
|
|
+foreach(file ${HEADERS} ${SPVREMAP_HEADERS})
|
|
+ get_filename_component(dir ${file} DIRECTORY)
|
|
+ install(FILES ${file} DESTINATION include/SPIRV/${dir})
|
|
+endforeach()
|
|
diff --git a/glslang/CMakeLists.txt b/glslang/CMakeLists.txt
|
|
index ff91135..4318279 100644
|
|
--- a/glslang/CMakeLists.txt
|
|
+++ b/glslang/CMakeLists.txt
|
|
@@ -90,3 +90,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()
|