sci-libs/rocThrust: set include path in cmake config to correct one

Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sv. Lockal
2024-01-10 21:04:05 +00:00
committed by Sam James
parent ab202980f8
commit 45e49405af

View File

@@ -35,7 +35,7 @@ src_prepare() {
-e "/rocm_install_symlink_subdir(rocthrust)/d" \
-e "/<INSTALL_INTERFACE/s:rocthrust/include/:include/:" -i thrust/CMakeLists.txt || die
sed -e "s:\${CMAKE_INSTALL_INCLUDEDIR}:&/rocthrust:" \
sed -e "s:\${CMAKE_INSTALL_INCLUDEDIR}:&/thrust:" \
-e "s:\${ROCM_INSTALL_LIBDIR}:\${CMAKE_INSTALL_LIBDIR}:" -i cmake/ROCMExportTargetsHeaderOnly.cmake || die
# disable downloading googletest and googlebenchmark