[Cmake-commits] [cmake-commits] king committed cmInstallTargetGenerator.cxx 1.64 1.65

cmake-commits at cmake.org cmake-commits at cmake.org
Tue May 27 10:21:26 EDT 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv30578/Source

Modified Files:
	cmInstallTargetGenerator.cxx 
Log Message:
BUG: RPATH adjustment of versioned executables should operate on the file and not the symlink.


Index: cmInstallTargetGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmInstallTargetGenerator.cxx,v
retrieving revision 1.64
retrieving revision 1.65
diff -C 2 -d -r1.64 -r1.65
*** cmInstallTargetGenerator.cxx	14 Apr 2008 19:02:44 -0000	1.64
--- cmInstallTargetGenerator.cxx	27 May 2008 14:21:21 -0000	1.65
***************
*** 201,204 ****
--- 201,210 ----
        else
          {
+         // Operations done at install time on the installed file should
+         // be done on the real file and not any of the symlinks.
+         toInstallPath = this->GetInstallDestination();
+         toInstallPath += "/";
+         toInstallPath += targetNameReal;
+ 
          files.push_back(from1);
          if(targetNameReal != targetName)



More information about the Cmake-commits mailing list