google / google/shaderc

`SHADERC_SKIP_INSTALL` cmake option broken

Open
#1,435 2 comments 9 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.2k
Forks
445
Avg merge
11h 6m
Merged PRs (30d)
6

Description

Running cmake with the `SHADERC_SKIP_INSTALL` option will break cmake:

```
...
**CMake Error: install(EXPORT "glslang-targets" ...) includes target "SPIRV" which requires target "SPIRV-Tools-opt" that is not in any export set.**
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
```
I think the issue is https://github.com/google/shaderc/blob/main/third_party/CMakeLists.txt#L90:
```
set(GLSLANG_ENABLE_INSTALL $)
```
I don't believe that "$

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.