mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 05:40:09 +00:00
[doc] [cmake] Fix a typo in examples for the cmake directory docs. NFC.
The previous case was a tautology - this is probably what was intended. Differential Revision: https://reviews.llvm.org/D124072
This commit is contained in:
parent
237c4bada9
commit
3f9ebc0cc8
@ -29,7 +29,7 @@ For tools, please do:
|
||||
.. 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 @@ For runtime libs, we skip the ``if(NOT DEFINED`` part:
|
||||
|
||||
.. 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user