Skip to content

Commit 3675e14

Browse files
authored
fix conf patterns (#3736)
1 parent 72b01d4 commit 3675e14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/config_files/global_conf.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ You can use package patterns to apply the configuration in those dependencies wh
184184
.. code-block:: text
185185
186186
*:tools.cmake.cmaketoolchain:generator=Ninja
187-
zlib:tools.cmake.cmaketoolchain:generator=Visual Studio 16 2019
187+
zlib/*:tools.cmake.cmaketoolchain:generator=Visual Studio 16 2019
188188
189189
This example shows you how to specify a general ``generator`` for all your packages except for ``zlib`` which is defining
190190
``Visual Studio 16 2019`` as its generator.
@@ -194,7 +194,7 @@ configuration lines above:
194194

195195
.. code-block:: text
196196
197-
zlib:tools.cmake.cmaketoolchain:generator=Visual Studio 16 2019
197+
zlib/*:tools.cmake.cmaketoolchain:generator=Visual Studio 16 2019
198198
*:tools.cmake.cmaketoolchain:generator=Ninja
199199
200200
The result is that you're specifying a general ``generator`` for all your packages, and that's it. The ``zlib`` line has no

0 commit comments

Comments
 (0)