Skip to content
Snippets Groups Projects
Commit 21f8c6b5 authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

Fix compilation with -DBUILD_SHARED_LIBS=ON

Add STATIC keyword to add_library() calls
parent b6846fad
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ add_custom_target(box_generate_lua_sources
DEPENDS ${lua_sources})
set_property(DIRECTORY PROPERTY ADDITIONAL_MAKE_CLEAN_FILES ${lua_sources})
add_library(box
add_library(box STATIC
iproto.cc
iproto_constants.c
iproto_port.cc
......
set(lib_sources rope.c rtree.c guava.c)
set_source_files_compile_flags(${lib_sources})
add_library(salad ${lib_sources})
add_library(salad STATIC ${lib_sources})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment