Skip to content

Commit

Permalink
Fix relative path for cmake in usage doc (fmtlib#3890)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dobiasd authored and happymonkey1 committed Apr 6, 2024
1 parent 644faf8 commit 375d50a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ On Mac OS X with Xcode installed, an :file:`.xcodeproj` file will be generated.
To build a `shared library`__ set the ``BUILD_SHARED_LIBS`` CMake variable to
``TRUE``::

cmake -DBUILD_SHARED_LIBS=TRUE ...
cmake -DBUILD_SHARED_LIBS=TRUE ..

__ https://en.wikipedia.org/wiki/Library_%28computing%29#Shared_libraries

Expand All @@ -57,7 +57,7 @@ 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``::

cmake -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE ...
cmake -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE ..


Installing the Library
Expand Down

0 comments on commit 375d50a

Please sign in to comment.