Skip to content
This repository was archived by the owner on Nov 20, 2020. It is now read-only.

Commit f63c31d

Browse files
committed
Added new LuaDist macros
1 parent 1b1836e commit f63c31d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/lua.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ macro ( install_lua_executable _name _source )
3838
if ( NOT SKIP_LUA_WRAPPER )
3939
enable_language ( C )
4040

41-
find_package ( Lua51 REQUIRED )
41+
find_package ( Lua REQUIRED )
4242
include_directories ( ${LUA_INCLUDE_DIR} )
4343

4444
set ( _wrapper ${CMAKE_CURRENT_BINARY_DIR}/${_name}.c )
@@ -210,7 +210,7 @@ macro ( _lua_module_helper is_install _name )
210210
endif ()
211211
else () # Lua C binary module
212212
enable_language ( C )
213-
find_package ( Lua51 REQUIRED )
213+
find_package ( Lua REQUIRED )
214214
include_directories ( ${LUA_INCLUDE_DIR} )
215215

216216
set ( _module "${_module}${CMAKE_SHARED_MODULE_SUFFIX}" )

0 commit comments

Comments
 (0)