cmake: when building library make it shared

This commit is contained in:
Evgeniy Polyakov 2015-08-15 21:40:26 +03:00
parent 33fa0bfb74
commit a8f33076a3

View File

@ -43,7 +43,7 @@ if(BUILD_TOOLS)
endif()
if(BUILD_LIBS)
add_library(liblz4 ${LZ4_SRCS_LIB})
add_library(liblz4 SHARED ${LZ4_SRCS_LIB})
set_target_properties(liblz4 PROPERTIES
OUTPUT_NAME lz4