From 782ec2413073982d5bb0aa1e93ae692df8ba8657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 11 Sep 2016 17:15:04 +0200 Subject: [PATCH] doc: show the more common case with plugins from the plugins repo. Not from the main repo. May cause confusion among users. --- doc/plugins.dox | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/plugins.dox b/doc/plugins.dox index 4a8432cd5..35c4b5e37 100644 --- a/doc/plugins.dox +++ b/doc/plugins.dox @@ -179,10 +179,10 @@ usage is basically the same as above, but you need to explicitly find the plugin and link it into the executable in your `CMakeLists.txt`. See @ref cmake and @ref cmake-plugins for additional information. @code -find_package(Magnum REQUIRED TgaImporter) +find_package(MagnumPlugins REQUIRED PngImporter) add_executable(MyApp ...) -target_link_libraries(MyApp ... Magnum::TgaImporter) +target_link_libraries(MyApp ... MagnumPlugins::PngImporter) @endcode The only user-visible behavioral change will be that