Using pkg_check_modules to check version of a library
I'm trying to install FFADO, and I need to update a number of libraries to do so. From reading around a bit, it looks like pkg_check_modules can check the existing library versions for me. One of the libraries I need to update is libiec61883, and in the readme for that, it tells me to use the following command to check for the installed version's .pc file:
PKG_CHECK_MODULES(LIBIEC61883, libiec61883 >= 1.0.0)
Except that when I give this command, I get a syntax error near 'LIBIEC61883'. Can anyone tell me where I've gone wrong? I'm curious to know how this command will be helpful, since it doesn't specify action_if_found and action_if_not_found as written. Thanks in advance!