macOS brew install cmake pkgconf libusb libusb-compat pcsc-lite mkdir build cd build cmake .. cmake --build .