summaryrefslogtreecommitdiffstats
path: root/cmake_unofficial
diff options
context:
space:
mode:
authorEvgeniy Polyakov <zbr@ioremap.net>2015-08-15 18:40:26 (GMT)
committerEvgeniy Polyakov <zbr@ioremap.net>2015-08-15 18:40:26 (GMT)
commita8f33076a37bf37d9b16fd9f982c553afd79028c (patch)
treeeef1298aaabad2c524f48a39c860444922dbfc29 /cmake_unofficial
parent33fa0bfb74c0a3c3940fca6392807f907010bb30 (diff)
downloadlz4-a8f33076a37bf37d9b16fd9f982c553afd79028c.zip
lz4-a8f33076a37bf37d9b16fd9f982c553afd79028c.tar.gz
lz4-a8f33076a37bf37d9b16fd9f982c553afd79028c.tar.bz2
cmake: when building library make it shared
Diffstat (limited to 'cmake_unofficial')
-rw-r--r--cmake_unofficial/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake_unofficial/CMakeLists.txt b/cmake_unofficial/CMakeLists.txt
index 1a3b532..6b8923a 100644
--- a/cmake_unofficial/CMakeLists.txt
+++ b/cmake_unofficial/CMakeLists.txt
@@ -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