diff options
author | Don Hinton <hintonda@gmail.com> | 2017-12-24 19:30:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-01-10 19:13:32 (GMT) |
commit | f74c25802de11e4e4578b1c9473f99d106491da8 (patch) | |
tree | 6f3c7a0a38a33dd9fadc062fa3a7c877c9ee8c65 /Help | |
parent | 40dea7e4b2e1c4518337bba284a233bf6f788a1a (diff) | |
download | CMake-f74c25802de11e4e4578b1c9473f99d106491da8.zip CMake-f74c25802de11e4e4578b1c9473f99d106491da8.tar.gz CMake-f74c25802de11e4e4578b1c9473f99d106491da8.tar.bz2 |
CheckIncludeFiles: Honor CMAKE_REQUIRED_LIBRARIES
This is needed when cross compiling and the compiler requires a specific
linker different from the default, e.g., when cross compiling from
Darwin to Linux and passing `-fuse-ld=lld` to clang.
Fixes: #9514
Diffstat (limited to 'Help')
-rw-r--r-- | Help/release/dev/CheckIncludeFile-required-libs.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Help/release/dev/CheckIncludeFile-required-libs.rst b/Help/release/dev/CheckIncludeFile-required-libs.rst new file mode 100644 index 0000000..14c43d1 --- /dev/null +++ b/Help/release/dev/CheckIncludeFile-required-libs.rst @@ -0,0 +1,11 @@ +CheckIncludeFile-required-libs +------------------------------ + +* The :module:`CheckIncludeFile` module ``check_include_file`` macro + learned to honor the ``CMAKE_REQUIRED_LIBRARIES`` variable. + +* The :module:`CheckIncludeFileCXX` module ``check_include_file_cxx`` macro + learned to honor the ``CMAKE_REQUIRED_LIBRARIES`` variable. + +* The :module:`CheckIncludeFiles` module ``check_include_files`` macro + learned to honor the ``CMAKE_REQUIRED_LIBRARIES`` variable. |