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 install subdir #634

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open

fix cmake install subdir #634

wants to merge 18 commits into from

Conversation

elikosan
Copy link
Contributor

cutorch installs .lib, .dll and includes always in lib/, bin/, include/, no matter what is specified by the Torch_INSTALL_*_SUBDIR cmake variable.

Torch installation directories need to be propagated otherwise cutorch installs in the wrong directories (they default to lib, include,bin,etc and thus works on default installs)
now that install dirs are set properly in upstream CMakefile, they don't need to be reset here, plus the INCLUDE_DIRECTORIES and LINK_DIRECTORIES (lines 111,112) statement should be executed.
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.

1 participant