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