summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/LINK_LIBRARY_OVERRIDE.rst
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2022-02-16 17:34:28 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2022-02-16 17:34:28 (GMT)
commit397ee55cd62dcfcbafb4ff62b189a4192e07d1e5 (patch)
tree47b3304aac407847d1afd338949e04358c4ed72f /Help/prop_tgt/LINK_LIBRARY_OVERRIDE.rst
parent1e495fdab92b8ce5f2778c0cbc5e0ed55b056b98 (diff)
downloadCMake-397ee55cd62dcfcbafb4ff62b189a4192e07d1e5.zip
CMake-397ee55cd62dcfcbafb4ff62b189a4192e07d1e5.tar.gz
CMake-397ee55cd62dcfcbafb4ff62b189a4192e07d1e5.tar.bz2
genex-LINK_LIBRARY: rename configuration variables
To be more consistent between genex and variables as well as the forecomming LINK_GROUP genex, rename variable *_LINK_USING_<FEATURE>* in *_LINK_LIBRARY_USING_<FEATURE>*
Diffstat (limited to 'Help/prop_tgt/LINK_LIBRARY_OVERRIDE.rst')
-rw-r--r--Help/prop_tgt/LINK_LIBRARY_OVERRIDE.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Help/prop_tgt/LINK_LIBRARY_OVERRIDE.rst b/Help/prop_tgt/LINK_LIBRARY_OVERRIDE.rst
index e9c76b0..81a2a4a 100644
--- a/Help/prop_tgt/LINK_LIBRARY_OVERRIDE.rst
+++ b/Help/prop_tgt/LINK_LIBRARY_OVERRIDE.rst
@@ -22,10 +22,10 @@ example:
.. code-block:: cmake
add_library(lib1 ...)
- target_link_libraries(lib1 PUBLIC $<LINK_LIBRARY:feature1,external>)
+ target_link_libraries(lib1 PUBLIC "$<LINK_LIBRARY:feature1,external>")
add_library(lib2 ...)
- target_link_libraries(lib2 PUBLIC $<LINK_LIBRARY:feature2,lib1>)
+ target_link_libraries(lib2 PUBLIC "$<LINK_LIBRARY:feature2,lib1>")
add_library(lib3 ...)
target_link_libraries(lib3 PRIVATE lib1 lib2)
@@ -50,5 +50,5 @@ See also :prop_tgt:`LINK_LIBRARY_OVERRIDE_<LIBRARY>` target property for
a per linked target oriented approach to override features.
For more information about features, see
-:variable:`CMAKE_<LANG>_LINK_USING_<FEATURE>`
-and :variable:`CMAKE_LINK_USING_<FEATURE>` variables.
+:variable:`CMAKE_<LANG>_LINK_LIBRARY_USING_<FEATURE>`
+and :variable:`CMAKE_LINK_LIBRARY_USING_<FEATURE>` variables.