fix Linux and Cmake build

This commit is contained in:
Erwin Coumans
2014-08-20 16:48:46 -07:00
parent 7b28e86c7b
commit d4e4fdc2c5
5 changed files with 29 additions and 6 deletions

View File

@@ -0,0 +1,13 @@
INCLUDE_DIRECTORIES(
.
src
)
FILE(GLOB_RECURSE lua-5.2.3_SRCS "src/*.c")
ADD_DEFINITIONS(-DLUA_COMPAT_ALL)
FILE(GLOB_RECURSE lua-5.2.3_HDRS "src/*.h")
ADD_LIBRARY(lua-5.2.3 ${lua-5.2.3_SRCS} ${lua-5.2.3_HDRS})