summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-11-20 15:04:27 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-11-20 15:05:11 (GMT)
commit60a131efd53060b1f95936a0b6160e3b7af994f3 (patch)
treeaa7c632ad5dc53efec67792123e1710d3a10965b /Help
parent8dc3ef670d6b4986b821691c4ec3edd11d714d42 (diff)
parent30aa715fac06deba7eaa3e6167cf34eb4d2521d0 (diff)
downloadCMake-60a131efd53060b1f95936a0b6160e3b7af994f3.zip
CMake-60a131efd53060b1f95936a0b6160e3b7af994f3.tar.gz
CMake-60a131efd53060b1f95936a0b6160e3b7af994f3.tar.bz2
Merge topic 'revert-explicit-LANGUAGE-flag'
30aa715fac Revert "specify language flag when source LANGUAGE property is set" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5519
Diffstat (limited to 'Help')
-rw-r--r--Help/release/3.19.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/Help/release/3.19.rst b/Help/release/3.19.rst
index be63e9d..961d6c0 100644
--- a/Help/release/3.19.rst
+++ b/Help/release/3.19.rst
@@ -330,3 +330,19 @@ Other Changes
* If ``CUDA`` compiler detection fails with user-specified
:variable:`CMAKE_CUDA_ARCHITECTURES` or
:variable:`CMAKE_CUDA_HOST_COMPILER`, an error is raised.
+
+Updates
+=======
+
+Changes made since CMake 3.19.0 include the following.
+
+3.19.1
+------
+
+* CMake 3.19.0 compiles source files with the :prop_sf:`LANGUAGE`
+ property by passing an explicit language flag such as ``-x c``.
+ This is consistent with the property's documented meaning that
+ the source file is written in the specified language. However,
+ it can break projects that were using the property only to
+ cause the specified language's compiler to be used. This has
+ been reverted to restore behavior from CMake 3.18 and below.