Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake generation for SLANG_LIB_TYPE = STATIC broken since 5d8cf47 #5821

Open
James2022-rgb opened this issue Dec 10, 2024 · 0 comments
Open
Assignees
Labels
goal:client support Feature or fix needed for a current slang user. HelpWanted

Comments

@James2022-rgb
Copy link
Contributor

CMake generation for SLANG_LIB_TYPE = STATIC fails with the following error message:

CMake Error: install(EXPORT "SlangExportTarget" ...) includes target "slang" which requires target "core" that is not in any export set.
CMake Error: install(EXPORT "SlangExportTarget" ...) includes target "slang" which requires target "prelude" that is not in any export set.
CMake Error: install(EXPORT "SlangExportTarget" ...) includes target "slang" which requires target "compiler-core" that is not in any export set.
CMake Error: install(EXPORT "SlangExportTarget" ...) includes target "slang" which requires target "slang-capability-defs" that is not in any export set.
CMake Error: install(EXPORT "SlangExportTarget" ...) includes target "slang" which requires target "slang-capability-lookup" that is not in any export set.
CMake Error: install(EXPORT "SlangExportTarget" ...) includes target "slang" which requires target "slang-reflect-headers" that is not in any export set.
CMake Error: install(EXPORT "SlangExportTarget" ...) includes target "slang" which requires target "slang-lookup-tables" that is not in any export set.
CMake Error: install(EXPORT "SlangExportTarget" ...) includes target "slang" which requires target "SPIRV-Headers" that is not in any export set.
CMake Error: install(EXPORT "SlangExportTarget" ...) includes target "slang" which requires target "slang-common-objects" that is not in any export set.

git bisect'ing seems to suggest that this breakage was introduced in the commit 5d8cf47 (#5674).

I tried to see if I could help fix it, only to realize I was not versed enough in CMake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
goal:client support Feature or fix needed for a current slang user. HelpWanted
Projects
None yet
Development

No branches or pull requests

3 participants