mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-15 03:02:22 -06:00
FindImageMagick: Fix documentation syntax in usage example
This commit is contained in:
@@ -96,19 +96,13 @@ Result Variables
|
|||||||
Full path to <component> libraries.
|
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++)
|
||||||
find_package(ImageMagick COMPONENTS Magick++ convert)
|
|
||||||
|
|
||||||
target_link_libraries(example PRIVATE ImageMagick::Magick++)
|
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)
|
find_package(PkgConfig QUIET)
|
||||||
|
|||||||
Reference in New Issue
Block a user