Andrea Pappacoda
1b32fc8eb2
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
2022-08-25 23:15:14 +02:00
..
2022-06-07 01:13:21 +09:00
2018-09-12 10:34:54 +02:00
2022-08-25 23:15:14 +02:00
2021-11-08 14:12:01 +01:00
2019-02-21 11:05:21 -05:00
2022-07-18 14:20:18 +08:00
2020-09-14 09:57:09 -06:00
2018-03-02 12:36:02 -07:00
2021-06-16 09:11:14 -07:00
2022-07-18 14:20:18 +08:00
2021-08-10 10:40:28 -07:00
2018-08-07 03:16:20 +09:00
2022-07-27 11:23:16 -06:00
2020-10-12 10:08:47 -06:00
2020-03-30 01:32:23 +03:00
2019-10-29 15:33:54 -04:00
2020-03-21 03:20:25 -04:00
2019-08-20 23:21:56 -06:00
2020-03-05 13:41:34 -06:00
2022-07-18 14:20:18 +08:00
2022-01-27 11:51:04 -07:00
2022-05-23 23:05:43 -07:00
2022-05-31 10:40:25 -07:00
2021-10-20 15:15:30 -06:00
2022-06-01 16:40:29 -06:00
2022-06-01 16:40:29 -06:00
2022-03-24 13:22:44 -06:00
2020-11-02 14:40:50 -07:00