projects/uci: lua: use built in pkg-config support for alternatives
authorKarl Palsson <karlp@remake.is>
Fri, 15 Apr 2016 15:12:18 +0000 (15:12 +0000)
committerJohn Crispin <blogic@openwrt.org>
Fri, 22 Apr 2016 20:08:31 +0000 (22:08 +0200)
Different distributions have different names for the lua 5.1 package.
Use cmake's built in pkg-config support to search for the first one,
rather than running it explicitly and searching for a single version.

Signed-off-by: Karl Palsson <karlp@remake.is>

No differences found