diff options
author | Brad King <brad.king@kitware.com> | 2019-02-25 12:48:27 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-02-25 12:48:35 (GMT) |
commit | 283b8c2ae6234d7f71bfe372c71a80deadf9b39d (patch) | |
tree | 84d499691f36efefdbf935e2595a6daaaaeceef4 /Help/variable | |
parent | 3fff09096ab87914a08499958d956c2be1fdd085 (diff) | |
parent | 3dc81a48ffbf22e044678736996272ef1b8395ff (diff) | |
download | CMake-283b8c2ae6234d7f71bfe372c71a80deadf9b39d.zip CMake-283b8c2ae6234d7f71bfe372c71a80deadf9b39d.tar.gz CMake-283b8c2ae6234d7f71bfe372c71a80deadf9b39d.tar.bz2 |
Merge topic 'fix-implicit-includes-fortran'
3dc81a48ff Fortran: Do not suppress explicit use of implicit include directories
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Michael Hirsch, Ph.D. <michael@scivision.co>
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. |