Skip to content

Commit

Permalink
remove Raw Priveleges
Browse files Browse the repository at this point in the history
  • Loading branch information
wcbonner committed Aug 11, 2024
1 parent 4434239 commit 27d7408
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if (POLICY CMP0115)
endif()

project (GoveeBTTempLogger
VERSION 3.20240811.0
VERSION 3.20240811.1
DESCRIPTION "Listen and log Govee Thermometer Bluetooth Low Energy Advertisments via BlueZ and DBus"
HOMEPAGE_URL https://github.com/wcbonner/GoveeBTTempLogger
)
Expand Down Expand Up @@ -60,14 +60,6 @@ target_include_directories(goveebttemplogger PUBLIC
${dbus_INCLUDE_DIRS}
)

if(EXISTS "/etc/rpi-issue")
add_custom_command(TARGET goveebttemplogger POST_BUILD
COMMAND sudo setcap 'cap_net_raw,cap_net_admin+eip' $<TARGET_FILE:goveebttemplogger>
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMENT "Setting Raw Priveleges on $<TARGET_FILE:goveebttemplogger>"
)
endif()

add_executable(gvh-organizelogs
gvh-organizelogs.cpp
goveebttemplogger-version.h
Expand Down

0 comments on commit 27d7408

Please sign in to comment.