Look for Lua 5.2 libraries in project file

On Unix only
pull/110/head
Hleb Valoshka 2018-05-04 16:09:45 +03:00
parent 29a215ad17
commit e48e74f2e9
1 changed files with 1 additions and 1 deletions

View File

@ -599,7 +599,7 @@ unix {
CONFIG += link_pkgconfig
LUALIST = lua51 lua
LUALIST = lua52 lua51 lua
for(libpc, LUALIST):system(pkg-config --exists $${libpc}):LUAPC = $${libpc}
isEmpty (LUAPC) {error("No shared Lua library found!")}