libfprint uses the Meson build system. See http://mesonbuild.com/Quick-guide.html for details on how to compile libfprint. The "meson configure" command will give you a list of available command-line options.