aboutsummaryrefslogtreecommitdiff
path: root/graphics/vulkan-sdk/glslang-revert.patch
blob: e5a4759161938f31c18d3e2ef55a650b28040b90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 199d115e1542fe0a8427efda5fa36158474fb6cf Mon Sep 17 00:00:00 2001
From: John Kessenich <cepheus@frii.com>
Date: Tue, 5 Nov 2019 18:05:42 -0700
Subject: [PATCH] Fix #1959 by reverting 7b0e236 to put files in two places.

---
 SPIRV/CMakeLists.txt | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
 mode change 100644 => 100755 SPIRV/CMakeLists.txt

diff --git a/SPIRV/CMakeLists.txt b/SPIRV/CMakeLists.txt
old mode 100644
new mode 100755
index e25ec0a13..9869bafdc
--- a/SPIRV/CMakeLists.txt
+++ b/SPIRV/CMakeLists.txt
@@ -90,9 +90,10 @@ if(ENABLE_GLSLANG_INSTALL)
         install(TARGETS SPIRV EXPORT SPIRVTargets
                 ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
     endif()
-	
-	install(EXPORT SPVRemapperTargets DESTINATION lib/cmake)
-	install(EXPORT SPIRVTargets DESTINATION lib/cmake)
 
+    install(EXPORT SPVRemapperTargets DESTINATION lib/cmake)
+    install(EXPORT SPIRVTargets DESTINATION lib/cmake)
+
+    install(FILES ${HEADERS} ${SPVREMAP_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/SPIRV/)
     install(FILES ${HEADERS} ${SPVREMAP_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/glslang/SPIRV/)
 endif(ENABLE_GLSLANG_INSTALL)