summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bindings/swig/lua/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bindings/swig/lua/CMakeLists.txt b/src/bindings/swig/lua/CMakeLists.txt
index 93accad..ac408c9 100644
--- a/src/bindings/swig/lua/CMakeLists.txt
+++ b/src/bindings/swig/lua/CMakeLists.txt
@@ -1,8 +1,8 @@
# generate JNI library and create a jar
# Make from within Eclipse fails miserably with the whole thing
-find_package(Lua51)
-if(LUA51_FOUND)
+find_package(Lua)
+if (LUA_FOUND)
include_directories(${LUA_INCLUDE_DIR})
else()
message(STATUS "No Lua headers found - not building Lua wrappers")