[CMake] Path to installed target

Michael Wild themiwi at gmail.com
Wed Jan 12 09:05:14 EST 2011


On 01/12/2011 03:03 PM, Alexey Livshits wrote:
>> Thing is, you can't *rely* on DESTDIR *not* being used by the user of
>> your project. If a user shoots himself in the foot, that's his fault,
>> but when designing your test architecture you IMHO shouldn't make the
>> use of DESTDIR impossible. I'm sure Debian/Ubuntu/the/whole/zoo would
>> object to that...
> 
> That's right. I don't want to rely on DESTDIR. That's the problem, not
> a solution. Otherwise I could use CMAKE_INSTALL_PREFIX and I would be
> fine.

But then, if you override that your users (if there are any besides
you/your company) will hate you, because they can't install the software
where they want.

Michael


More information about the CMake mailing list