From 7b0e236325fa9e8ebc7f446f83797a20a2263b70 Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Thu, 3 Oct 2019 19:35:44 -0400 Subject: [PATCH] Move install directory for SPIRV/ folder. Currently the SPIRV/ folder will get installed into the include directory. This folder is part of GLSLang, so it makes more sense under glslang/SPIRV. Currently, GLSLang will install a SPIRV/ folder while spirv-headers will install a spirv/ folder. This is confusing and will cause issues on a case sensitive filesystem if both are installed at the same time. --- SPIRV/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SPIRV/CMakeLists.txt b/SPIRV/CMakeLists.txt index 94d2ebe..a666412 100644 --- a/SPIRV/CMakeLists.txt +++ b/SPIRV/CMakeLists.txt @@ -87,5 +87,6 @@ if(ENABLE_GLSLANG_INSTALL) ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) endif() - 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) -- 2.7.4