added position independent documentation
This commit is contained in:
parent
bd3c792507
commit
975c168c50
@ -52,6 +52,13 @@ To build a `shared library`__ set the ``BUILD_SHARED_LIBS`` CMake variable to
|
|||||||
|
|
||||||
__ http://en.wikipedia.org/wiki/Library_%28computing%29#Shared_libraries
|
__ http://en.wikipedia.org/wiki/Library_%28computing%29#Shared_libraries
|
||||||
|
|
||||||
|
|
||||||
|
To build a `static library`__ with position independent code (required if the main consumer of the fmt library is a shared library i.e. python extension) set the ``CMAKE_POSITION_INDEPENDENT_CODE`` CMake variable to
|
||||||
|
``TRUE``::
|
||||||
|
|
||||||
|
cmake -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE ...
|
||||||
|
|
||||||
|
|
||||||
Installing the Library
|
Installing the Library
|
||||||
======================
|
======================
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user