[BUG]: ThrustInstallRules.cmake doesn't support when CMAKE_INSTALL_LIBDIR
is an absolute value
#1390
Closed
1 task done
Labels
bug
Something isn't working right.
Is this a duplicate?
Type of Bug
Something else
Component
Thrust
Describe the bug
When
CMAKE_INSTALL_LIBDIR
is an absolute value the compuations thatThrustInstallRules.cmake
does to figure out the relative location of the includes fails.How to Reproduce
Pass
-DCMAKE_INSTALL_LIBDIR=${CMAKE_INSTALL_PREFIX}/lib
on the command lineExpected behavior
When
CMAKE_INSTALL_PREFIX
is a parent directory ofCMAKE_INSTALL_LIBDIR
it should be possible to compute the correct relative association.It is impossible to always support absolute
CMAKE_INSTALL_LIBDIR
values, since theCMAKE_INSTALL_PREFIX
can be rewritten at install time when usingcmake --install <dir> --prefix <path>
or the entire install tree can be relocated ( e.g. a package manager ).Reproduction link
No response
Operating System
No response
nvidia-smi output
No response
NVCC version
No response
The text was updated successfully, but these errors were encountered: