summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2022-07-19 04:17:20 (GMT)
committerCraig Scott <craig.scott@crascit.com>2022-07-19 04:18:01 (GMT)
commitd2cb36861f3ad9423bfe1ca7979b33ddf9925a88 (patch)
tree4f05a94c1e242832fb5035e296e22c629e149e35 /Help
parentdf559cd8c836f5534e2f22fa3dec71417471c5ac (diff)
downloadCMake-d2cb36861f3ad9423bfe1ca7979b33ddf9925a88.zip
CMake-d2cb36861f3ad9423bfe1ca7979b33ddf9925a88.tar.gz
CMake-d2cb36861f3ad9423bfe1ca7979b33ddf9925a88.tar.bz2
Help: Fix cross-references in genex manual that linked to wrong genexes
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake-generator-expressions.7.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Help/manual/cmake-generator-expressions.7.rst b/Help/manual/cmake-generator-expressions.7.rst
index 25e581a..9649e62 100644
--- a/Help/manual/cmake-generator-expressions.7.rst
+++ b/Help/manual/cmake-generator-expressions.7.rst
@@ -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