diff options
-rw-r--r-- | Modules/FindImageMagick.cmake | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/Modules/FindImageMagick.cmake b/Modules/FindImageMagick.cmake index 2210e1b..6baf471 100644 --- a/Modules/FindImageMagick.cmake +++ b/Modules/FindImageMagick.cmake @@ -96,19 +96,13 @@ Result Variables Full path to <component> libraries. -Example Usages: -^^^^^^^^^^^^^^^ +Example Usage +^^^^^^^^^^^^^ - 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) +.. code-block:: cmake + find_package(ImageMagick COMPONENTS 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) |