aml.pc.in should contain linker flags to cuda libraries if AML was compiled with CUDA support.
aml.pc.in