From 9504d7a99bdb1a1c4b50ce8dc6ceced89f1fdb48 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 1 Jun 2015 09:13:23 -0400 Subject: Help: Explicitly mention lack of 'install' support in add_dependencies CMake-generated targets are not supported by add_dependencies. State this explicitly and use 'install' as an example since this may be commonly attempted. --- Help/command/add_dependencies.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Help/command/add_dependencies.rst b/Help/command/add_dependencies.rst index c3583cf..7a66143 100644 --- a/Help/command/add_dependencies.rst +++ b/Help/command/add_dependencies.rst @@ -10,7 +10,8 @@ Add a dependency between top-level targets. Make a top-level ```` depend on other top-level targets to ensure that they build before ```` does. A top-level target is one created by one of the :command:`add_executable`, -:command:`add_library`, or :command:`add_custom_target` commands. +:command:`add_library`, or :command:`add_custom_target` commands +(but not targets generated by CMake like ``install``). Dependencies added to an :ref:`imported target ` or an :ref:`interface library ` are followed -- cgit v0.12