Skip to content

Commit

Permalink
Lua 5.2 cannot be used to build the Lua opcodes, only LuaJIT 2 can be…
Browse files Browse the repository at this point in the history
… used.
  • Loading branch information
gogins committed Jul 11, 2013
1 parent 4125292 commit f3c1add
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Opcodes/CMakeLists.txt
Expand Up @@ -29,8 +29,7 @@ set(PYTHON_INCLUDE_DIRS /usr/include/Python2.7)
set(Python_ADDITIONAL_VERSIONS 2.7)
find_package(PythonLibs)

#find_library(LUA_LIBRARIES luajit)
find_package(Lua52)
find_library(LUA_LIBRARIES luajit)
check_include_file(wiiuse.h WIIUSE_H)
find_library(WIIUSE_LIB wiiuse)
check_include_file(p5glove.h P5GLOVE_H)
Expand Down Expand Up @@ -140,7 +139,7 @@ if(BUILD_PYTHON_OPCODES)
endif()

# this is broken at the moment
check_deps(BUILD_LUA_OPCODES LUA51_FOUND OPENMP_FOUND)
check_deps(BUILD_LUA_OPCODES LUA_LIBRARIES)
if(BUILD_LUA_OPCODES)
find_path(LUA_INCLUDE_DIR lua.h
/usr/include/luajit-2.0
Expand Down

0 comments on commit f3c1add

Please sign in to comment.