Add option to specify special permissions for dumpcap during cmake phase:
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 19 Jan 2014 00:48:22 +0000 (00:48 +0000)
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 19 Jan 2014 00:48:22 +0000 (00:48 +0000)
commit65ff2f017688b4dd6875cad15dffd15e24c59c00
tree9d738aa91bd0dcaf17b01825225587193f129903
parenta43a5ae055ebbe43d6975471bb07ecea7f34495a
Add option to specify special permissions for dumpcap during cmake phase:
set(DUMPCAP_INSTALL_OPTION   <val>)
where val is one of "normal" "suid" "capabilities"

Some things left to do:
- Error out in cmake if setcap isn't found or libcap isn't found.
- Move multivalue option handling into it's own macro (-file) with
  value checking

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@54840 f5534014-38df-0310-8fa8-9805f1628bb7
CMakeLists.txt
CMakeOptions.txt
cmake/modules/FindSETCAP.cmake [new file with mode: 0644]