summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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