libubox: lua: use pkg-config built in module to search for alternatives
authorKarl Palsson <karlp@remake.is>
Thu, 24 Sep 2015 15:14:04 +0000 (15:14 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 22 Nov 2015 12:17:07 +0000 (13:17 +0100)
commit682e071ef71f52125793aabb9e060343ea481443
tree64b65d1787b547793f0b147c04efd315f8e53362
parent10429bccd0dc5d204635e110a7a8fae7b80d16cb
libubox: lua: use pkg-config built in module to search for alternatives

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>
lua/CMakeLists.txt