diff options
author | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-20 16:29:34 +0100 |
---|---|---|
committer | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-20 16:29:34 +0100 |
commit | 18b99c7eff28b5cd0669d169649bfa7dd8f9f87a (patch) | |
tree | c06e07d08ef6b4a6df57d5aed3f064723de6cb0c /lib/lua | |
parent | fixed lua dependency on libm (diff) | |
download | cuberite-18b99c7eff28b5cd0669d169649bfa7dd8f9f87a.tar cuberite-18b99c7eff28b5cd0669d169649bfa7dd8f9f87a.tar.gz cuberite-18b99c7eff28b5cd0669d169649bfa7dd8f9f87a.tar.bz2 cuberite-18b99c7eff28b5cd0669d169649bfa7dd8f9f87a.tar.lz cuberite-18b99c7eff28b5cd0669d169649bfa7dd8f9f87a.tar.xz cuberite-18b99c7eff28b5cd0669d169649bfa7dd8f9f87a.tar.zst cuberite-18b99c7eff28b5cd0669d169649bfa7dd8f9f87a.zip |
Diffstat (limited to 'lib/lua')
-rw-r--r-- | lib/lua/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/lua/CMakeLists.txt b/lib/lua/CMakeLists.txt index 6ffe3259a..ed1627a67 100644 --- a/lib/lua/CMakeLists.txt +++ b/lib/lua/CMakeLists.txt @@ -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) |