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

Change ExternalProject prefixes to always match the FetchContent location #315

Merged
merged 1 commit into from
Oct 20, 2021

Conversation

awild82
Copy link
Contributor

@awild82 awild82 commented Oct 14, 2021

FetchContent will download and create the artifact directories in FETCHCONTENT_BASE_DIR, which defaults to ${CMAKE_BINARY_DIR}/_deps. Currently, projects that are still managed by ExternalProject in TiledArray hard code the path ${CMAKE_BINARY_DIR}/_deps to be their download/artifact directories. While this doesn't cause a problem for TiledArray on its own, it does create an inconsistency in dependency download locations for projects that pull in TiledArray and set a non-standard FETCHCONTENT_BASE_DIR. This pull request changes the ExternalProject locations to always be consistent with the FetchContent locations.

Copy link
Member

@evaleev evaleev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@evaleev evaleev merged commit 66bbee5 into ValeevGroup:master Oct 20, 2021
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