CMake: Compile with -fPIC when building SOs
authorBen Clayton <bclayton@google.com>
Mon, 29 Jun 2020 13:06:35 +0000 (14:06 +0100)
committerBen Clayton <bclayton@google.com>
Mon, 29 Jun 2020 13:57:47 +0000 (14:57 +0100)
commit981e12769881ca6b596b15595850c2b6751b4f6f
tree8ccbdc71556e0b8f49a0aaaed93f8d6cc5d2197f
parent27e915ed4f208cf0913425c79b1e62ffe80a6299
CMake: Compile with -fPIC when building SOs

Without this embedding static libraries into shared libraries may result in link time errors.

Issue: #2283
CMakeLists.txt