glslang/SPIRV
Andrea Pappacoda a06a94a446 build: install glslang-config.cmake to libdir
As glslang ships architecture dependant files, the Config file should be
installed to libdir, not datadir. See
https://github.com/KhronosGroup/glslang/pull/2989#discussion_r955367103
for more details.

Here's the diff between the install tree before and after this patch:

    $ diff <(tree install-datadir) <(tree install)
    1c1
    < install-datadir
    ---
    > install
    74,99c74,98
    <         ├── lib
    <         │   ├── cmake
    <         │   │   ├── glslang-default-resource-limitsTargets.cmake
    <         │   │   ├── glslangTargets.cmake
    <         │   │   ├── glslangValidatorTargets.cmake
    <         │   │   ├── HLSLTargets.cmake
    <         │   │   ├── OGLCompilerTargets.cmake
    <         │   │   ├── OSDependentTargets.cmake
    <         │   │   ├── spirv-remapTargets.cmake
    <         │   │   ├── SPIRVTargets.cmake
    <         │   │   └── SPVRemapperTargets.cmake
    <         │   ├── libGenericCodeGen.a
    <         │   ├── libglslang.a
    <         │   ├── libglslang-default-resource-limits.a
    <         │   ├── libHLSL.a
    <         │   ├── libMachineIndependent.a
    <         │   ├── libOGLCompiler.a
    <         │   ├── libOSDependent.a
    <         │   ├── libSPIRV.a
    <         │   └── libSPVRemapper.a
    <         └── share
    <             └── glslang
    <                 ├── glslang-config.cmake
    <                 ├── glslang-config-version.cmake
    <                 ├── glslang-targets.cmake
    <                 └── glslang-targets-debug.cmake
    ---
    >         └── lib
    >             ├── cmake
    >             │   ├── glslang-default-resource-limitsTargets.cmake
    >             │   ├── glslangTargets.cmake
    >             │   ├── glslangValidatorTargets.cmake
    >             │   ├── HLSLTargets.cmake
    >             │   ├── OGLCompilerTargets.cmake
    >             │   ├── OSDependentTargets.cmake
    >             │   ├── spirv-remapTargets.cmake
    >             │   ├── SPIRVTargets.cmake
    >             │   └── SPVRemapperTargets.cmake
    >             ├── glslang
    >             │   ├── glslang-config.cmake
    >             │   ├── glslang-config-version.cmake
    >             │   ├── glslang-targets.cmake
    >             │   └── glslang-targets-debug.cmake
    >             ├── libGenericCodeGen.a
    >             ├── libglslang.a
    >             ├── libglslang-default-resource-limits.a
    >             ├── libHLSL.a
    >             ├── libMachineIndependent.a
    >             ├── libOGLCompiler.a
    >             ├── libOSDependent.a
    >             ├── libSPIRV.a
    >             └── libSPVRemapper.a
    101c100
    < 15 directories, 83 files
    ---
    > 14 directories, 83 files
2023-12-11 20:03:12 +00:00
..
CInterface CInterface: Add OpSource support. 2022-06-07 01:13:21 +09:00
bitutils.h Fix compiler warning emitted from GCC8 2018-09-12 10:34:54 +02:00
CMakeLists.txt build: install glslang-config.cmake to libdir 2023-12-11 20:03:12 +00:00
disassemble.cpp Fix encoding/decoding of string literals for big-endian systems 2021-11-08 14:12:01 +01:00
disassemble.h Fix -Wextra-semi warnings in headers used in Chromium 2019-02-21 11:05:21 -05:00
doc.cpp Add SPV_AMD_shader_early_and_late_fragment_tests 2022-07-18 14:20:18 +08:00
doc.h SPIRV: Add disassembly support for multiple literal strings (#2397) 2020-09-14 09:57:09 -06:00
GLSL.ext.AMD.h Non-functional: Move to latest headers. 2018-03-02 12:36:02 -07:00
GLSL.ext.EXT.h Implement GLSL_EXT_shader_atomic_float2 2021-06-16 09:11:14 -07:00
GLSL.ext.KHR.h Add SPV_AMD_shader_early_and_late_fragment_tests 2022-07-18 14:20:18 +08:00
GLSL.ext.NV.h Add support for GL_NV_ray_tracing_motion_blur. 2021-08-10 10:40:28 -07:00
GLSL.std.450.h Remove execute permissions 2018-08-07 03:16:20 +09:00
GlslangToSpv.cpp Merge pull request #2977 from AMD-dwang/AMD_shader_early_and_late_fragment_tests 2022-07-27 11:23:16 -06:00
GlslangToSpv.h Remove executable bits from code/data files (#2420) 2020-10-12 10:08:47 -06:00
hex_float.h bitwise on boolean 2020-03-30 01:32:23 +03:00
InReadableOrder.cpp SPIR-V: Aggressively prune unreachable merge, continue target 2019-10-29 15:33:54 -04:00
Logger.cpp Make file formatting comply with POSIX and Unix standards 2020-03-21 03:20:25 -04:00
Logger.h Web: Remove unused stage functionality, SPIR-V logger, and hex_utils 2019-08-20 23:21:56 -06:00
NonSemanticDebugPrintf.h GL_EXT_debug_printf implementation 2020-03-05 13:41:34 -06:00
spirv.hpp Add SPV_AMD_shader_early_and_late_fragment_tests 2022-07-18 14:20:18 +08:00
SpvBuilder.cpp Fix size_t to int warning 2022-01-27 11:51:04 -07:00
SpvBuilder.h generate OpLine before OpFunction 2022-05-23 23:05:43 -07:00
spvIR.h avoid using make_unique for c++11 compatibility 2022-05-31 10:40:25 -07:00
SpvPostProcess.cpp Allow 8/16-bit integer as array index 2021-10-20 15:15:30 -06:00
SPVRemapper.cpp Restore legacy interface for remap() 2022-06-01 16:40:29 -06:00
SPVRemapper.h Restore legacy interface for remap() 2022-06-01 16:40:29 -06:00
SpvTools.cpp Add eliminate-dead-input-components to -Os 2022-03-24 13:22:44 -06:00
SpvTools.h Add new SpirvToolsDisassemble API interface + Improve Doc on existing API interface (#2442) 2020-11-02 14:40:50 -07:00