1 2 3 4 5
find_package(PkgConfig) pkg_check_modules(YAT yat>=1.7.7) find_library(YAT_LIB yat ${YAT_LIBRARY_DIRS})