Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/luajit-rocks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTudor Bosman <tudorb@fb.com>2014-07-10 21:32:19 +0400
committerTudor Bosman <tudorb@fb.com>2014-07-10 21:32:19 +0400
commit581098d623ca9e7d6bc2915be17bb3855541cb75 (patch)
tree5eee451297b51157c75035a81ad82843054d9e47
parentd00876cf4196052965690972a1cef25199a7f172 (diff)
lua52, install lua.hpp
-rw-r--r--luajit/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/luajit/CMakeLists.txt b/luajit/CMakeLists.txt
index 6db1a9a..65a233e 100644
--- a/luajit/CMakeLists.txt
+++ b/luajit/CMakeLists.txt
@@ -69,7 +69,7 @@ INCLUDE(CheckTypeSize)
# LuaJIT specific
option ( LUAJIT_DISABLE_FFI "Disable FFI." OFF )
-option ( LUAJIT_ENABLE_LUA52COMPAT "Enable Lua 5.2 compatibility." OFF )
+option ( LUAJIT_ENABLE_LUA52COMPAT "Enable Lua 5.2 compatibility." ON )
option ( LUAJIT_DISABLE_JIT "Disable JIT." OFF )
option ( LUAJIT_CPU_SSE2 "Use SSE2 instead of x87 instructions." ON )
option ( LUAJIT_CPU_NOCMOV "Disable NOCMOV." OFF )
@@ -135,6 +135,7 @@ endif ()
## SOURCES
INSTALL(FILES src/luaconf.h src/lua.h src/lauxlib.h src/lualib.h
+ src/lua.hpp src/luajit.h
DESTINATION "${INSTALL_INCLUDE_SUBDIR}")
MACRO(LJ_TEST_ARCH stuff)