Commit e05f3256 authored by Sergiu Deitsch's avatar Sergiu Deitsch

cmake: enable position independent code (PIC)

parent de6149ef
...@@ -372,6 +372,8 @@ add_library (glog ...@@ -372,6 +372,8 @@ add_library (glog
${GLOG_SRCS} ${GLOG_SRCS}
) )
set_target_properties (glog PROPERTIES POSITION_INDEPENDENT_CODE ON)
if (UNWIND_LIBRARY) if (UNWIND_LIBRARY)
target_link_libraries (glog PUBLIC ${UNWIND_LIBRARY}) target_link_libraries (glog PUBLIC ${UNWIND_LIBRARY})
endif (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