diff options
Diffstat (limited to 'src/bindings')
-rw-r--r-- | src/bindings/swig/lua/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bindings/swig/lua/CMakeLists.txt b/src/bindings/swig/lua/CMakeLists.txt index 344edec..93accad 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(Lua) -if(LUA_FOUND) +find_package(Lua51) +if(LUA51_FOUND) include_directories(${LUA_INCLUDE_DIR}) else() message(STATUS "No Lua headers found - not building Lua wrappers") |