Browse Source

doc: show the more common case with plugins from the plugins repo.

Not from the main repo. May cause confusion among users.
pull/175/merge
Vladimír Vondruš 10 years ago
parent
commit
782ec24130
  1. 4
      doc/plugins.dox

4
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 plugin and link it into the executable in your `CMakeLists.txt`. See @ref cmake
and @ref cmake-plugins for additional information. and @ref cmake-plugins for additional information.
@code @code
find_package(Magnum REQUIRED TgaImporter) find_package(MagnumPlugins REQUIRED PngImporter)
add_executable(MyApp ...) add_executable(MyApp ...)
target_link_libraries(MyApp ... Magnum::TgaImporter) target_link_libraries(MyApp ... MagnumPlugins::PngImporter)
@endcode @endcode
The only user-visible behavioral change will be that The only user-visible behavioral change will be that

Loading…
Cancel
Save