[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [37902] branches/cycles/intern/cycles/ blender/CMakeLists.txt: Cycles: fix for dynamic library copying on linux.

Brecht Van Lommel brechtvanlommel at pandora.be
Tue Jun 28 16:25:53 CEST 2011


Revision: 37902
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37902
Author:   blendix
Date:     2011-06-28 14:25:52 +0000 (Tue, 28 Jun 2011)
Log Message:
-----------
Cycles: fix for dynamic library copying on linux.

Modified Paths:
--------------
    branches/cycles/intern/cycles/blender/CMakeLists.txt

Modified: branches/cycles/intern/cycles/blender/CMakeLists.txt
===================================================================
--- branches/cycles/intern/cycles/blender/CMakeLists.txt	2011-06-28 13:44:47 UTC (rev 37901)
+++ branches/cycles/intern/cycles/blender/CMakeLists.txt	2011-06-28 14:25:52 UTC (rev 37902)
@@ -94,6 +94,9 @@
 		${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 @@
 			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()




More information about the Bf-blender-cvs mailing list