Commit dee7c8c3 authored by Fumitoshi Ukai's avatar Fumitoshi Ukai Committed by GitHub

Merge pull request #129 from sergiud/cmake-PIC

cmake: enable position independent code (PIC)
parents fc618803 e05f3256
......@@ -380,6 +380,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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment