summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-04-02 20:16:14 (GMT)
committerBrad King <brad.king@kitware.com>2015-04-03 14:52:16 (GMT)
commitba9b9d79fb1a753c564be44e17e2d3b979f8108c (patch)
tree1a8373623909a1a9f46c33365412e9dad2061f1a /Help
parentf707460e42949e4ca372bf23892a7d6fb9eb1b86 (diff)
downloadCMake-ba9b9d79fb1a753c564be44e17e2d3b979f8108c.zip
CMake-ba9b9d79fb1a753c564be44e17e2d3b979f8108c.tar.gz
CMake-ba9b9d79fb1a753c564be44e17e2d3b979f8108c.tar.bz2
Help: Fix syntax in non-relocatable usage requirements example
The example in cmake-packages(7) is meant to be incorrect for use of absolute paths, not for its syntax.
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake-packages.7.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Help/manual/cmake-packages.7.rst b/Help/manual/cmake-packages.7.rst
index 3367ba4..b477cab 100644
--- a/Help/manual/cmake-packages.7.rst
+++ b/Help/manual/cmake-packages.7.rst
@@ -385,11 +385,11 @@ generate config file packages:
.. code-block:: cmake
target_link_libraries(ClimbingStats INTERFACE
- ${Boost_LIBRARIES};${OtherDep_LIBRARIES}>
- )
+ ${Boost_LIBRARIES} ${OtherDep_LIBRARIES}
+ )
target_include_directories(ClimbingStats INTERFACE
- $<INSTALL_INTERFACE:${Boost_INCLUDE_DIRS};${OtherDep_INCLUDE_DIRS}>
- )
+ "$<INSTALL_INTERFACE:${Boost_INCLUDE_DIRS};${OtherDep_INCLUDE_DIRS}>"
+ )
Dependencies must provide their own :ref:`IMPORTED targets <Imported Targets>`
which have their own :prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES` and