$ cmake .
-- Checking for one of the modules 'libusb-1.0'
CMake Error at /usr/share/cmake-3.18/Modules/FindPkgConfig.cmake:797 (message):
None of the required 'libusb-1.0' found
Call Stack (most recent call first):
CMakeLists.txt:5 (pkg_search_module)
-- Configuring incomplete, errors occurred!
However, on Pop_OS! 21.04, libusb-1.0-0 package is available.
libusb not found while building via cmake
However, on Pop_OS! 21.04,
libusb-1.0-0
package is available.I tried editing
~/.bashrc
with the following line.Unfortunately, it didn't help.