projects
/
platform
/
upstream
/
glog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de6149e
)
cmake: enable position independent code (PIC)
author
Sergiu Deitsch
<sergiu.deitsch@th-nuernberg.de>
Fri, 7 Oct 2016 08:54:14 +0000
(10:54 +0200)
committer
Sergiu Deitsch
<sergiu.deitsch@th-nuernberg.de>
Fri, 7 Oct 2016 08:54:14 +0000
(10:54 +0200)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 142959053bf3efbcf302b7fcf039cbf22cfd23a3..c7b343fb4bd4b1cb0705a2db090a5ac37a95a7c4 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-372,6
+372,8
@@
add_library (glog
${GLOG_SRCS}
)
+set_target_properties (glog PROPERTIES POSITION_INDEPENDENT_CODE ON)
+
if (UNWIND_LIBRARY)
target_link_libraries (glog PUBLIC ${UNWIND_LIBRARY})
endif (UNWIND_LIBRARY)