summarylogtreecommitdiffstats
path: root/system-cuda-rpath.patch
blob: 35fc239588382dc1775d2b07efe2c33aa9f6a8f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -795,8 +795,6 @@ if(NOT WIN32)
     "-Wl,-rpath,'$$ORIGIN'"
     "-Wl,-rpath,'$$ORIGIN/../lib64'"
     "-Wl,-rpath,'$$ORIGIN/../lib'"
-    "-Wl,-rpath,'${CUDA_TOOLKIT_ROOT_DIR}/lib64'"
-    "-Wl,-rpath,'${CUDA_TOOLKIT_ROOT_DIR}/lib'"
     ${CMAKE_DL_LIBS}
     )
 endif()