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>2014-02-15 16:10:23 +0400
committerRonan Collobert <ronan@collobert.com>2014-02-15 16:10:23 +0400
commitacbf61a46cb15599517db505ebf6af9e3adcbeb6 (patch)
tree5aaadc2c92243ca3f9fbd8bda9dcc437a12292fe
parent9c030022ddae4f908dceb35874df8a9b0bb1a042 (diff)
luajit readline: compile with the right include
-rw-r--r--luajit/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/luajit/CMakeLists.txt b/luajit/CMakeLists.txt
index 4040183..b123399 100644
--- a/luajit/CMakeLists.txt
+++ b/luajit/CMakeLists.txt
@@ -58,6 +58,7 @@ FIND_PACKAGE(Readline)
IF(READLINE_FOUND)
ADD_DEFINITIONS("-DLUA_USE_READLINE")
LIST(APPEND LIBS ${READLINE_LIBRARIES})
+ INCLUDE_DIRECTORIES(${READLINE_INCLUDE_DIR})
ENDIF()
# Various includes