diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2022-02-16 17:34:28 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2022-02-16 17:34:28 (GMT) |
commit | 397ee55cd62dcfcbafb4ff62b189a4192e07d1e5 (patch) | |
tree | 47b3304aac407847d1afd338949e04358c4ed72f /Help/prop_tgt/LINK_LIBRARY_OVERRIDE.rst | |
parent | 1e495fdab92b8ce5f2778c0cbc5e0ed55b056b98 (diff) | |
download | CMake-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.rst | 8 |
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. |