summaryrefslogblamecommitdiffstats
path: root/lib/lua/CMakeLists.txt
blob: ed1627a672003968028c1b9804d1bf97cc2d934d (plain) (tree)
1
2
3
4
5
6
7
8
9
10






                                                        
                 

 
                 
                          


                                 
 
                            

cmake_minimum_required (VERSION 2.6)
project (lua)

include_directories ("${PROJECT_SOURCE_DIR}/../../src/")

file(GLOB SOURCE
	"src/*.c"
)

if(${STATIC_LUA})
add_library(lua ${SOURCE})
else()
add_library(lua SHARED ${SOURCE})
endif()

target_link_libraries(lua m)