summaryrefslogtreecommitdiffstats
path: root/Help/command/enable_language.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-06-22 17:12:24 (GMT)
committerBrad King <brad.king@kitware.com>2023-06-22 17:12:24 (GMT)
commit9dd2dd5b778cdc57deaaa7ea90321a8d3aa4edb1 (patch)
treed6c2e4be9b46d6731b5c6cce7331ef4202b53abd /Help/command/enable_language.rst
parent492bf5e0ac1b57a39bc6ed916abf556f5cf97edf (diff)
downloadCMake-9dd2dd5b778cdc57deaaa7ea90321a8d3aa4edb1.zip
CMake-9dd2dd5b778cdc57deaaa7ea90321a8d3aa4edb1.tar.gz
CMake-9dd2dd5b778cdc57deaaa7ea90321a8d3aa4edb1.tar.bz2
Help: Restore project command docs for default languages and NONE
In commit b787be2714 (Help: Update supported languages in project and enable_language, 2023-01-20, v3.26.0-rc1~53^2) the relevant paragraph was accidentally moved to the `enable_language` command documentation. Fixes: #25016
Diffstat (limited to 'Help/command/enable_language.rst')
-rw-r--r--Help/command/enable_language.rst4
1 files changed, 0 insertions, 4 deletions
diff --git a/Help/command/enable_language.rst b/Help/command/enable_language.rst
index 21b38ba..2f1cc23 100644
--- a/Help/command/enable_language.rst
+++ b/Help/command/enable_language.rst
@@ -13,10 +13,6 @@ variables that are created by the project command.
.. include:: SUPPORTED_LANGUAGES.txt
-By default ``C`` and ``CXX`` are enabled if no language options are given.
-Specify language ``NONE``, or use the ``LANGUAGES`` keyword and list no languages,
-to skip enabling any languages.
-
This command must be called in file scope, not in a function call.
Furthermore, it must be called in the highest directory common to all
targets using the named language directly for compiling sources or