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

Fix CMake rules when nesting CMake projects #2332

Merged
merged 1 commit into from
Jul 10, 2020

Conversation

ben-clayton
Copy link
Contributor

${CMAKE_SOURCE_DIR} points to the outer project root, not the current directory.

Fixes building of glslang when included into another CMake project.

`${CMAKE_SOURCE_DIR}` points to the outer project root, not the current directory.

Fixes building of `glslang` when included into another CMake project.
@ben-clayton
Copy link
Contributor Author

I had already tested and fixed this once, but it seems like it got wiped out in a rebase or when hopping between machines.

@johnkslang johnkslang merged commit 906d48a into KhronosGroup:master Jul 10, 2020
@ben-clayton ben-clayton deleted the fix-cmake-include branch July 10, 2020 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants