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:
authorRonan Collobert <ronan@collobert.com>2015-05-23 19:14:50 +0300
committerRonan Collobert <ronan@collobert.com>2015-05-23 19:14:50 +0300
commit97299ce206ce007a6d3ec4542617f91ae7f23ca5 (patch)
treebe247733a970461ad9b1c3cc9a279071de02a4ae /CMakeLists.txt
parente7a987ad3e7c4c6161bb4952415ed65a4f575b1b (diff)
added experimental support for lua 5.1 with reference counting
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b6743d7..ed09c4d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,6 +17,10 @@ IF(WITH_LUA51)
SET(LUA_EXE_NAME lua)
SET(LUA_VERSION 5.1)
ADD_SUBDIRECTORY(lua-5.1)
+ELSEIF(WITH_LUA51RC)
+ SET(LUA_EXE_NAME lua)
+ SET(LUA_VERSION 5.1)
+ ADD_SUBDIRECTORY(lua-5.1-rc)
ELSEIF(WITH_LUA52)
SET(LUA_EXE_NAME lua)
SET(LUA_VERSION 5.2)