Using a private/local library

Is it really necessary to add the local libraries (which themselves have no other dependency) to the lib_deps in platformio.ini? These file are store under lib//.h and .cpp.

files

|
+--lib
|   |
|   +--button_debouncer
|        |
|        +--button_debouncer.hpp
|        |
|        +--button_debouncer.cpp
|
+--src
        |
        +-- main.cpp

main.cpp

#include <button_debounce.hpp>
...

platformio.ini

...
[env:unodebug]
build_type = debug
build_flags =
	-std=c++17
	-Og
	-g2
	-ggdb3
	-DDEBUG
	-Wall
debug_build_flags =
	-std=c++17
	-DAVR8_BREAKPOINT_MODE=1
    -Og				; Optimize debugging experience; oder auch -O0 nehmen
    -g2			 	; Request debugging information and specify how much information. The default level is 2.
	-ggdb3
	-DDEBUG
	; -DNOT_WITH_SERIAL
	-Wall
debug_tool = avr-stub
debug_port = /dev/cu.usbmodem14201
lib_deps =
	jdolinay/avr-debugger@^1.5
	button_debounce
...