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 <locronan@fb.com>2014-09-27 04:28:44 +0400
committerRonan Collobert <locronan@fb.com>2014-09-27 04:28:44 +0400
commit9df7e1ae75dc04759b2f15420cab3818e372f18c (patch)
treec6f99b2524cf5b5b31d5a7eca9b1909a29578a95 /lua-5.1
parent8dd4e4346a912c83439a88f3804701a61e6ee76c (diff)
lua-5.1/5.2/jit: fix order of includes (make sure we include system ones last)vanilla
Diffstat (limited to 'lua-5.1')
-rw-r--r--lua-5.1/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua-5.1/CMakeLists.txt b/lua-5.1/CMakeLists.txt
index 45e184a..69d9a55 100644
--- a/lua-5.1/CMakeLists.txt
+++ b/lua-5.1/CMakeLists.txt
@@ -68,7 +68,7 @@ ELSE()
SET(LUA_BUILD_AS_DLL 1)
ENDIF()
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
+INCLUDE_DIRECTORIES(BEFORE ${CMAKE_CURRENT_BINARY_DIR} src)
CONFIGURE_FILE(src/luaconf.h.in
${CMAKE_CURRENT_BINARY_DIR}/luaconf.h)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/luaconf.h src/lua.h src/lauxlib.h src/lualib.h