mirror of
https://github.com/minetest/minetest.git
synced 2024-11-22 23:53:44 +01:00
Declare all bundled libs as static
Otherwise it can happen that these are built as shared depending on the options passed to CMake, which obviously isn't intended.
This commit is contained in:
parent
e108954633
commit
8735a85a30
@ -1,4 +1,4 @@
|
|||||||
add_library(bitop bit.c)
|
add_library(bitop STATIC bit.c)
|
||||||
target_link_libraries(bitop)
|
target_link_libraries(bitop)
|
||||||
|
|
||||||
include_directories(${LUA_INCLUDE_DIR})
|
include_directories(${LUA_INCLUDE_DIR})
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
add_library(gmp mini-gmp.c)
|
add_library(gmp STATIC mini-gmp.c)
|
||||||
target_link_libraries(gmp)
|
target_link_libraries(gmp)
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
add_library(jsoncpp jsoncpp.cpp)
|
add_library(jsoncpp STATIC jsoncpp.cpp)
|
||||||
target_link_libraries(jsoncpp)
|
target_link_libraries(jsoncpp)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user