misc/liblua/CMakeLists.txt
author nemo
Tue, 16 Feb 2010 02:23:12 +0000
changeset 2818 df7ec369992b
parent 2812 0a24853de796
child 2822 0533562bc3a4
permissions -rw-r--r--
Should be equivalent, but in any case, not needed

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)