diff options
author | Aaditya Dhruv <[email protected]> | 2025-08-04 18:43:03 -0500 |
---|---|---|
committer | Aaditya Dhruv <[email protected]> | 2025-08-04 20:35:25 -0500 |
commit | 19aa28bf318ead70821c20f34056a1e3e5b8516f (patch) | |
tree | ce69d9e1d6fc2cf369488255ae93640caa0a6f23 | |
parent | 11550c66c0002a86d8c899812989325f191ef797 (diff) |
- Install in correct path
- setcap command called correctly
-rw-r--r-- | src/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5718117..9467988 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,3 +1,4 @@ add_executable(arpee arpee.h arpee.c) target_link_libraries(arpee PRIVATE junk) -install(CODE "execute_process(COMMAND sudo setcap 'CAP_NET_RAW+eip' ./build/src/arpee)") +install(TARGETS arpee) +install(CODE "execute_process(COMMAND setcap \"CAP_NET_RAW+eip\" /usr/local/bin/arpee)") |