Revision: 8663
http://playerstage.svn.sourceforge.net/playerstage/?rev=8663&view=rev
Author: hsujohnhsu
Date: 2010-05-06 18:06:05 +0000 (Thu, 06 May 2010)
Log Message:
-----------
adding rpath to the tool binaries.
Modified Paths:
--------------
code/gazebo/trunk/tools/CMakeLists.txt
Modified: code/gazebo/trunk/tools/CMakeLists.txt
===================================================================
--- code/gazebo/trunk/tools/CMakeLists.txt 2010-05-06 17:56:14 UTC (rev
8662)
+++ code/gazebo/trunk/tools/CMakeLists.txt 2010-05-06 18:06:05 UTC (rev
8663)
@@ -12,4 +12,9 @@
target_link_libraries(gazebomodel gazebo boost_program_options yaml
boost_regex)
target_link_libraries(gazebobody gazebo boost_program_options yaml boost_regex)
+set_target_properties(gazebomodel PROPERTIES SKIP_BUILD_RPATH TRUE)
+set_target_properties(gazebomodel PROPERTIES LINK_FLAGS "${LINK_FLAGS}
${gazebo_lflags}")
+set_target_properties(gazebobody PROPERTIES SKIP_BUILD_RPATH TRUE)
+set_target_properties(gazebobody PROPERTIES LINK_FLAGS "${LINK_FLAGS}
${gazebo_lflags}")
+
install (TARGETS gazebomodel gazebobody DESTINATION
${CMAKE_INSTALL_PREFIX}/bin)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit