suggested fixes to usage

This commit is contained in:
Adnan Yunus 2020-10-19 03:03:58 -07:00
parent 975c168c50
commit e81de9536c

View File

@ -53,7 +53,7 @@ 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 To build a `static library` with position independent code (required if the main consumer of the fmt library is a shared library i.e. a Python extension) set the ``CMAKE_POSITION_INDEPENDENT_CODE`` CMake variable to
``TRUE``:: ``TRUE``::
cmake -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE ... cmake -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE ...