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 adapter registry test CMake #662

Merged
merged 1 commit into from
Jun 30, 2023
Merged

Conversation

npmiller
Copy link
Contributor

Using PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR is more resilient as it will still resolve to the base of the unified runtime repository even if used as a sub-project.

I've ran into this issue in my DPC++ build, it's possible my configuration of cache is causing me to hit this when others may not, but it's sensible to replace the CMake variable used here.

Using `PROJECT_SOURCE_DIR` instead of `CMAKE_SOURCE_DIR` is more
resilient as it will still resolve to the base of the unified runtime
repository even if used as a sub-project.
@pbalcer pbalcer merged commit 855504b into oneapi-src:main Jun 30, 2023
18 checks passed
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.

3 participants