summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-02-16 23:12:43 +0100
committerSlávek Banko <slavek.banko@axis.cz>2015-02-16 23:12:43 +0100
commit39b1fe26983424f098328180ad353a08ede2e3a2 (patch)
treeaf9807b9df8b1eab1bc1da38e523f2390c879d2a
parentb9ad6f1e954a68640d01176e597af03ec9281e35 (diff)
downloadlibr-39b1fe26983424f098328180ad353a08ede2e3a2.tar.gz
libr-39b1fe26983424f098328180ad353a08ede2e3a2.zip
Build static library with PIC
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 7668568..100c7c6 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -45,7 +45,7 @@ tde_add_library(
)
tde_add_library(
- ${target} STATIC
+ ${target} STATIC_PIC
VERSION 0.0.0
SOURCES ${${target}_SRCS}
LINK ${BACKEND_LIBRARIES} ${ZLIB_LIBRARIES} ${EXTRA_LIBRARIES}