Help: Fix cross-references in genex manual that linked to wrong genexes

This commit is contained in:
Craig Scott
2022-07-19 14:17:20 +10:00
parent df559cd8c8
commit d2cb36861f

View File

@@ -364,8 +364,6 @@ Variable Queries
:manual:`cmake-compile-features(7)` manual for information on
compile features and a list of supported compilers.
.. _`Boolean COMPILE_LANGUAGE Generator Expression`:
.. genex:: $<COMPILE_LANG_AND_ID:language,compiler_ids>
.. versionadded:: 3.15
@@ -405,6 +403,8 @@ Variable Queries
$<$<AND:$<COMPILE_LANGUAGE:C>,$<C_COMPILER_ID:Clang>>:COMPILING_C_WITH_CLANG>
)
.. _`Boolean COMPILE_LANGUAGE Generator Expression`:
.. genex:: $<COMPILE_LANGUAGE:languages>
.. versionadded:: 3.3
@@ -451,8 +451,6 @@ Variable Queries
add_executable(myapp main.cpp)
target_link_libraries(myapp myapp_c myapp_cxx)
.. _`Boolean LINK_LANGUAGE Generator Expression`:
.. genex:: $<LINK_LANG_AND_ID:language,compiler_ids>
.. versionadded:: 3.18
@@ -495,6 +493,8 @@ Variable Queries
``$<LINK_LANGUAGE:language>`` for constraints about the usage of this
generator expression.
.. _`Boolean LINK_LANGUAGE Generator Expression`:
.. genex:: $<LINK_LANGUAGE:languages>
.. versionadded:: 3.18