From: Alan W. I. <ai...@us...> - 2006-09-21 22:23:36
|
Update of /cvsroot/plplot/plplot/utils In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20013/utils Modified Files: CMakeLists.txt Log Message: Improved INSTALL_RPATH handling. Index: CMakeLists.txt =================================================================== RCS file: /cvsroot/plplot/plplot/utils/CMakeLists.txt,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- CMakeLists.txt 21 Aug 2006 17:03:03 -0000 1.3 +++ CMakeLists.txt 21 Sep 2006 22:23:34 -0000 1.4 @@ -34,11 +34,7 @@ target_link_libraries(plrender plplot${LIB_TAG}) -set(LIB_INSTALL_RPATH ${LIB_DIR}) -if(ENABLE_DYNDRIVERS) - set(LIB_INSTALL_RPATH ${LIB_INSTALL_RPATH} ${libplplot${LIB_TAG}_RPATH}) -endif(ENABLE_DYNDRIVERS) - +get_target_property(LIB_INSTALL_RPATH plplot${LIB_TAG} INSTALL_RPATH) set_target_properties(plrender PROPERTIES INSTALL_RPATH "${LIB_INSTALL_RPATH}" |