1
IF(APPLE)
2
file(GLOB lua_src *.c *.h)
3
set(CMAKE_OSX_ARCHITECTURES "x86_64;i386;ppc7400")
4
5
set (build_type STATIC)
6
add_definitions(-DLUA_USE_LINUX)
7
add_library (lua ${build_type} ${lua_src})
8
ENDIF(APPLE)