diff options
author | Brad King <brad.king@kitware.com> | 2019-02-20 13:57:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-02-20 13:57:20 (GMT) |
commit | c36bf6b13c6798d6388a2b4ca0c802a47f1b1ed4 (patch) | |
tree | 9c5258a3a7ea77afb0204e8f449d9dd103794325 /Help/variable | |
parent | 0794dd3018191ba919d9e8ada3ed18ad2b37eccd (diff) | |
parent | 3dc81a48ffbf22e044678736996272ef1b8395ff (diff) | |
download | CMake-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.rst | 7 |
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. |