From df6e7b22f7fef9c37736b3718c5ccb357df7dcd2 Mon Sep 17 00:00:00 2001 From: Tobias Hermann Date: Tue, 12 Mar 2024 14:56:12 +0100 Subject: [PATCH] Fix relative path for cmake in usage doc (#3890) --- doc/usage.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/usage.rst b/doc/usage.rst index 717fd1cd..6d637a2f 100644 --- a/doc/usage.rst +++ b/doc/usage.rst @@ -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 @@ -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