From: hbabcock <hba...@us...> - 2006-08-13 21:02:11
|
Update of /cvsroot/plplot/plplot/bindings/f77 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32722/bindings/f77 Modified Files: CMakeLists.txt Log Message: OS-X specific tweaks to handle custom install pathways and to get the install tree examples to build correctly. 1 1) do not set the variable RPATHCMD 2) Configure installed libraries with the correct path names using INSTALL_NAME_DIR. Index: CMakeLists.txt =================================================================== RCS file: /cvsroot/plplot/plplot/bindings/f77/CMakeLists.txt,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- CMakeLists.txt 28 Jul 2006 20:36:45 -0000 1.9 +++ CMakeLists.txt 13 Aug 2006 21:02:05 -0000 1.10 @@ -80,6 +80,7 @@ SOVERSION ${plplotf77_SOVERSION} VERSION ${plplotf77_VERSION} INSTALL_RPATH "${LIB_INSTALL_RPATH}" +INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib" ) install(TARGETS plplotf77c${LIB_TAG} DESTINATION ${LIB_INSTALL_DIR}) @@ -100,6 +101,7 @@ SOVERSION ${plplotf77_SOVERSION} VERSION ${plplotf77_VERSION} INSTALL_RPATH "${LIB_INSTALL_RPATH}" +INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib" ) install(TARGETS plplotf77${LIB_TAG} DESTINATION ${LIB_INSTALL_DIR}) |