diff options
author | bartus | 2018-11-07 16:14:18 +0100 |
---|---|---|
committer | bartus | 2018-11-07 16:14:18 +0100 |
commit | 6d6692069eb09e80a51f41156f8ea3c38b42966c (patch) | |
tree | 46d1d49215ffeb66fa27be73e5b7214ac6560346 /rpath.patch | |
parent | 65635c8ff9313d739d5f0b9c7546c4be3916f6f7 (diff) | |
download | aur-luxrender-hg.tar.gz |
fix embree-bvh_build-git rpath
Diffstat (limited to 'rpath.patch')
-rw-r--r-- | rpath.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/rpath.patch b/rpath.patch new file mode 100644 index 000000000000..bbd2f47c3eb3 --- /dev/null +++ b/rpath.patch @@ -0,0 +1,11 @@ +diff -r f56582df55f4 CMakeLists.txt +--- a/CMakeLists.txt Sun Jul 23 13:46:05 2017 +0200 ++++ b/CMakeLists.txt Wed Nov 07 16:07:27 2018 +0100 +@@ -531,6 +531,7 @@ + SET(LUX_LIBRARY luxShared) + ADD_DEFINITIONS(-DLUX_DLL) # for controlling visibility + SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) ++ SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) + SET(CMAKE_INSTALL_RPATH "$ORIGIN") + ENDIF(APPLE) + SET(LUX_LIBRARY_DEPENDS ${LUXRAYS_LIBRARY} ${LUXCORE_LIBRARY} ${SLG_LIBRARY} ${EMBREE_LIBRARY} ${OPENCL_LIBRARIES} ${OPENGL_LIBRARY} ${FREEIMAGE_LIBRARIES} ${OPENIMAGEIO_LIBRARIES} ${OPENEXR_LIBRARIES} ${TIFF_LIBRARIES} ${PNG_LIBRARIES} ${JPEG_LIBRARIES} ${Boost_LIBRARIES} ${FFTW_LIBRARIES} ${SYS_LIBRARIES}) |