Skip to content

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