diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2018-08-25 17:27:23 +0100 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2018-08-25 18:06:56 +0000 |
commit | e75905a583432e8b20cecdde71c41d17cb781392 (patch) | |
tree | 699bf479ff5a9891fffdcf0050d4218f210696bc /CMakeOptions.txt | |
parent | e09c9a8e464715b22c9e49fef4988b7457d6133f (diff) |
CMake: Add dumpcap group option to installation
Change-Id: I2718776a908ae5f9c6c475a110f9170b812b392d
Reviewed-on: https://code.wireshark.org/review/29282
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'CMakeOptions.txt')
-rw-r--r-- | CMakeOptions.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeOptions.txt b/CMakeOptions.txt index ee42e28738..6d429b57a5 100644 --- a/CMakeOptions.txt +++ b/CMakeOptions.txt @@ -86,6 +86,11 @@ option(ENABLE_LIBXML2 "Build with libxml2 support" ON) set(DUMPCAP_INSTALL_OPTION "normal" CACHE STRING "Permissions to install") set_property(CACHE DUMPCAP_INSTALL_OPTION PROPERTY STRINGS "normal" "suid" "capabilities") +if(UNIX) + option(ENABLE_DUMPCAP_GROUP "Install dumpcap with group ownership and permissions (default \"wireshark\")" OFF) + set(DUMPCAP_INSTALL_GROUP "wireshark" CACHE STRING "Group name for dumpcap (must exist)") +endif() + if(APPLE) option(ENABLE_APPLICATION_BUNDLE "Build a macOS application bundle (Wireshark.app)" ON) endif() |