Grant capabilites to dabbad on install.
commitef276c1de8c887816be8686741ec583621664a2a
authorEmmanuel Roullit <emmanuel.roullit@gmail.com>
Wed, 27 Jun 2012 15:23:24 +0000 (27 17:23 +0200)
committerEmmanuel Roullit <emmanuel.roullit@gmail.com>
Wed, 27 Jun 2012 18:47:50 +0000 (27 20:47 +0200)
treecb8924ce0ba33be17f74ae2f3b359ec9ad0636c5
parent5a8d1b9092f12c04a755a842f86a8b4eb12b1303
Grant capabilites to dabbad on install.

The proper way to do it would be to create a dependency on the
'install'.
However, 'install'/'test'/'all' are built-in targets and are only created
at the very end of the makefile generate.
The direct consequence is that we cannot use ADD_CUSTOM_TARGET() to add
tasks on 'install'.

This workaround tells CMake to append this CMake command directly to
the 'install' target.
As 'make install' must be called with higher privileges to perform
properly, the 'setcap' process uses this context as well.
dabbad/CMakeLists.txt