diff options
author | Brad King <brad.king@kitware.com> | 2023-02-01 18:57:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-02-01 18:58:23 (GMT) |
commit | 71f9c1943d63805cf3a87fcb832a7c664e8d1a47 (patch) | |
tree | b36dd26608c328863e98c58fd52d4651edb47248 | |
parent | 8ec1c9ab6a555ad1045c368872f54c3ff31d3ea6 (diff) | |
download | CMake-71f9c1943d63805cf3a87fcb832a7c664e8d1a47.zip CMake-71f9c1943d63805cf3a87fcb832a7c664e8d1a47.tar.gz CMake-71f9c1943d63805cf3a87fcb832a7c664e8d1a47.tar.bz2 |
FindImageMagick: Fix documentation syntax in usage example
-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) |