misc/liblua/CMakeLists.txt
author koda
Mon, 15 Feb 2010 19:49:20 +0000
changeset 2812 0a24853de796
child 2822 0533562bc3a4
permissions -rw-r--r--
add liblua to sources for macosx

IF(APPLE)
	file(GLOB lua_src *.c *.h) 
	set(CMAKE_OSX_ARCHITECTURES "x86_64;i386;ppc7400")	
	
	set (build_type STATIC)
	add_definitions(-DLUA_USE_LINUX)
	add_library (lua ${build_type} ${lua_src})
ENDIF(APPLE)