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 sol2 cmake include failing as a dependency #1196

Merged
merged 1 commit into from
May 21, 2021
Merged

Conversation

edunad
Copy link
Contributor

@edunad edunad commented May 18, 2021

When using cmake FetchContent sol isn't the top level project, it should use CMAKE_CURRENT_SOURCE_DIR instead of CMAKE_SOURCE_DIR

When using cmake `FetchContent` sol isn't the top level project, so it should use `CMAKE_CURRENT_SOURCE_DIR` instead of `CMAKE_SOURCE_DIR`
@OrfeasZ
Copy link
Contributor

OrfeasZ commented May 21, 2021

Came across this issue as well when using sol with add_subdirectory.

@ThePhD ThePhD self-assigned this May 21, 2021
@ThePhD ThePhD added this to the Bugs milestone May 21, 2021
@ThePhD ThePhD added the Bug.Derp They don't call me The Phantom Derpstorm for no reason. label May 21, 2021
@ThePhD ThePhD merged commit 3372d4f into ThePhD:develop May 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug.Derp They don't call me The Phantom Derpstorm for no reason. Build Thank.You
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants