made LUA shared unless STATIC_LUA is set
parent
be77ecf19d
commit
18b99c7eff
|
@ -8,6 +8,10 @@ file(GLOB SOURCE
|
||||||
"src/*.c"
|
"src/*.c"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if(${STATIC_LUA})
|
||||||
add_library(lua ${SOURCE})
|
add_library(lua ${SOURCE})
|
||||||
|
else()
|
||||||
|
add_library(lua SHARED ${SOURCE})
|
||||||
|
endif()
|
||||||
|
|
||||||
target_link_libraries(lua m)
|
target_link_libraries(lua m)
|
||||||
|
|
Loading…
Reference in New Issue