FindImageMagick: Fix documentation syntax in usage example

stage/master/nightly/2023/02/02
Brad King 2023-02-01 13:57:59 -05:00
parent 8ec1c9ab6a
commit 71f9c1943d
1 changed files with 4 additions and 10 deletions

View File

@ -96,19 +96,13 @@ Result Variables
Full path to <component> libraries.
Example Usages:
^^^^^^^^^^^^^^^
Example Usage
^^^^^^^^^^^^^
.. code-block:: cmake
find_package(ImageMagick)
find_package(ImageMagick COMPONENTS convert)
find_package(ImageMagick COMPONENTS convert mogrify display)
find_package(ImageMagick COMPONENTS Magick++)
find_package(ImageMagick COMPONENTS Magick++ convert)
target_link_libraries(example PRIVATE ImageMagick::Magick++)
Note that the standard :command:`find_package` features are supported (i.e.,
``QUIET``, ``REQUIRED``, etc.).
#]=======================================================================]
find_package(PkgConfig QUIET)