[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
Fri Apr 22 07:28:49 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG3f9ebc0cc824: [doc] [cmake] Fix a typo in examples for the cmake directory docs. NFC. (authored by mstorsjo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124072/new/
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.424473.patch
Type: text/x-patch
Size: 618 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220422/c4ae2441/attachment.bin>
More information about the llvm-commits
mailing list