File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -221,16 +221,10 @@ if (TVM_FFI_BUILD_PYTHON_MODULE)
221221 # Set RPATH for tvm_ffi_cython to find tvm_ffi_shared.so relatively
222222 if (APPLE )
223223 # macOS uses @loader_path
224- set_target_properties (tvm_ffi_cython PROPERTIES
225- INSTALL_RPATH "@loader_path/lib"
226- BUILD_WITH_INSTALL_RPATH ON
227- )
224+ set_target_properties (tvm_ffi_cython PROPERTIES INSTALL_RPATH "@loader_path/lib" )
228225 elseif (LINUX)
229226 # Linux uses $ORIGIN
230- set_target_properties (tvm_ffi_cython PROPERTIES
231- INSTALL_RPATH "\$ ORIGIN/lib"
232- BUILD_WITH_INSTALL_RPATH ON
233- )
227+ set_target_properties (tvm_ffi_cython PROPERTIES INSTALL_RPATH "\$ ORIGIN/lib" )
234228 endif ()
235229 install (TARGETS tvm_ffi_cython DESTINATION .)
236230
You can’t perform that action at this time.
0 commit comments