Skip to content

Commit

Permalink
在 conan 配置模板中添加 cmake_layout 作为布局
Browse files Browse the repository at this point in the history
  • Loading branch information
FeignClaims authored Mar 23, 2024
1 parent 4e18e6f commit d395f22
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion third_party/conan/main.rst
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,12 @@ Ubuntu/Debian
在 ``cpp_starter`` 文件夹根目录中找到 ``conanfile.txt``, 在 ``[requires]`` 下方添加一行 ``fmt/10.2.1`` 和 ``range-v3/0.12.0``:

.. code-block:: text
:emphasize-lines: 2-3
:emphasize-lines: 5-6
:linenos:
[layout]
cmake_layout
[requires]
fmt/10.2.1
range-v3/0.12.0
Expand Down

0 comments on commit d395f22

Please sign in to comment.