From f351e3572d163f0ae01d90f72789c49d3352e28b Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 28 Jun 2011 14:25:52 +0000 Subject: Cycles: fix for dynamic library copying on linux. --- intern/cycles/blender/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'intern/cycles/blender/CMakeLists.txt') diff --git a/intern/cycles/blender/CMakeLists.txt b/intern/cycles/blender/CMakeLists.txt index 9367bb6382f..013c671468e 100644 --- a/intern/cycles/blender/CMakeLists.txt +++ b/intern/cycles/blender/CMakeLists.txt @@ -94,6 +94,9 @@ IF(UNIX) ${Boost_LIBRARIES} ${OSL_LIBRARIES} ${PARTIO_LIBRARIES}) + + LIST(REMOVE_ITEM install_libs optimized) + LIST(REMOVE_ITEM install_libs debug) INSTALL(FILES ${install_libs} DESTINATION ${CYCLES_INSTALL_PATH}/cycles/lib) @@ -115,7 +118,6 @@ IF(UNIX) CODE " EXECUTE_PROCESS(COMMAND ${install_name_command} ${CYCLES_INSTALL_PATH}/cycles/libcycles_blender.so) - EXECUTE_PROCESS(COMMAND echo ${install_name_command} ${CYCLES_INSTALL_PATH}/cycles/libcycles_blender.so) " ) ELSE() -- cgit v1.2.3