summaryrefslogtreecommitdiffstats
path: root/Help/variable
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-02-20 13:57:20 (GMT)
committerBrad King <brad.king@kitware.com>2019-02-20 13:57:20 (GMT)
commitc36bf6b13c6798d6388a2b4ca0c802a47f1b1ed4 (patch)
tree9c5258a3a7ea77afb0204e8f449d9dd103794325 /Help/variable
parent0794dd3018191ba919d9e8ada3ed18ad2b37eccd (diff)
parent3dc81a48ffbf22e044678736996272ef1b8395ff (diff)
downloadCMake-c36bf6b13c6798d6388a2b4ca0c802a47f1b1ed4.zip
CMake-c36bf6b13c6798d6388a2b4ca0c802a47f1b1ed4.tar.gz
CMake-c36bf6b13c6798d6388a2b4ca0c802a47f1b1ed4.tar.bz2
Merge branch 'fix-implicit-includes-fortran' into release-3.14
Merge-request: !2994
Diffstat (limited to 'Help/variable')
-rw-r--r--Help/variable/CMAKE_LANG_IMPLICIT_INCLUDE_DIRECTORIES.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/Help/variable/CMAKE_LANG_IMPLICIT_INCLUDE_DIRECTORIES.rst b/Help/variable/CMAKE_LANG_IMPLICIT_INCLUDE_DIRECTORIES.rst
index cc80851..e361fd9 100644
--- a/Help/variable/CMAKE_LANG_IMPLICIT_INCLUDE_DIRECTORIES.rst
+++ b/Help/variable/CMAKE_LANG_IMPLICIT_INCLUDE_DIRECTORIES.rst
@@ -6,4 +6,9 @@ Directories implicitly searched by the compiler for header files.
CMake does not explicitly specify these directories on compiler
command lines for language ``<LANG>``. This prevents system include
directories from being treated as user include directories on some
-compilers.
+compilers, which is important for ``C``, ``CXX``, and ``CUDA`` to
+avoid overriding standard library headers.
+
+This value is not used for ``Fortran`` because it has no standard
+library headers and some compilers do not search their implicit
+include directories for module ``.mod`` files.