[PATCH] D124072: [doc] [cmake] Fix a typo in examples for the cmake directory docs. NFC.
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 20 01:15:07 PDT 2022
mstorsjo created this revision.
mstorsjo added reviewers: Ericson2314, phosek.
Herald added a subscriber: mgorny.
Herald added a project: All.
mstorsjo requested review of this revision.
Herald added a project: LLVM.
The previous case was a tautology - this is probably what was intended.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D124072
Files:
cmake/README.rst
Index: cmake/README.rst
===================================================================
--- cmake/README.rst
+++ cmake/README.rst
@@ -29,7 +29,7 @@
.. code-block:: cmake
if(NOT DEFINED LLVM_COMMON_CMAKE_UTILS)
- set(LLVM_COMMON_CMAKE_UTILS ${LLVM_COMMON_CMAKE_UTILS}/../cmake)
+ set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/../cmake)
endif()
# Add path for custom modules.
@@ -51,7 +51,7 @@
.. code-block:: cmake
- set(LLVM_COMMON_CMAKE_UTILS ${LLVM_COMMON_CMAKE_UTILS}/../cmake)
+ set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/../cmake)
... # same as before
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124072.423831.patch
Type: text/x-patch
Size: 618 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220420/f504d132/attachment.bin>
More information about the llvm-commits
mailing list