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.
This commit is contained in:
Brad King 2015-04-02 16:16:14 -04:00
parent f707460e42
commit ba9b9d79fb
1 changed files with 4 additions and 4 deletions

View File

@ -385,10 +385,10 @@ generate config file packages:
.. code-block:: cmake .. code-block:: cmake
target_link_libraries(ClimbingStats INTERFACE target_link_libraries(ClimbingStats INTERFACE
${Boost_LIBRARIES};${OtherDep_LIBRARIES}> ${Boost_LIBRARIES} ${OtherDep_LIBRARIES}
) )
target_include_directories(ClimbingStats INTERFACE 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>` Dependencies must provide their own :ref:`IMPORTED targets <Imported Targets>`