Re: [CMake] Overwritting read-only files when installing

2009-06-17 Thread Alexander Neundorf
On Thursday 18 June 2009, you wrote: > > I don't understand the problem. > > When I try to install somewhere, where I'm not allowed to write the > > install > > > fails: > > CMake Error: Error in cmake code at > > /home/alex/src/tests/envvarininstall/cmake_install.cmake:35: > > FILE cannot create d

Re: [CMake] Overwritting read-only files when installing

2009-06-17 Thread Daniel Tavares
> I don't understand the problem. > When I try to install somewhere, where I'm not allowed to write the install > fails: > CMake Error: Error in cmake code at > /home/alex/src/tests/envvarininstall/cmake_install.cmake:35: > FILE cannot create directory: /usr/usr/local/share/foo. Maybe need > admi

Re: [CMake] Overwritting read-only files when installing

2009-06-17 Thread Alexander Neundorf
On Friday 05 June 2009, Daniel Tavares wrote: > Hello fellow CMakers, > > > > Is there any way to make the install step fail if the destination file > that is being overwritten is read-only? I don't understand the problem. When I try to install somewhere, where I'm not allowed to write the install

[CMake] Overwritting read-only files when installing

2009-06-05 Thread Daniel Tavares
Hello fellow CMakers, Is there any way to make the install step fail if the destination file that is being overwritten is read-only? I need to copy the built target from the off-source folder to a folder under source control. And one of my options is to have the developer build the INSTALL