From 65a03715784db117e7b5a1b9c79a5235510204a3 Mon Sep 17 00:00:00 2001 From: Smittyvb Date: Sat, 25 Sep 2021 10:03:35 -0400 Subject: [PATCH] Properly specify source in CMake examples --- doc/usage.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/usage.rst b/doc/usage.rst index f9f81858..d0d7c870 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