diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-11-02 18:51:59 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-11-02 18:51:59 (GMT) |
commit | 0a5b9db60b8411bb3b063e627ff317b34609562a (patch) | |
tree | f56e60fc91354a80caf71ee210cc6bcda8ebf282 /Modules/CheckIncludeFile.cmake | |
parent | 35b529cc3e4dde27ec1c873eefb919c16c089dad (diff) | |
download | CMake-0a5b9db60b8411bb3b063e627ff317b34609562a.zip CMake-0a5b9db60b8411bb3b063e627ff317b34609562a.tar.gz CMake-0a5b9db60b8411bb3b063e627ff317b34609562a.tar.bz2 |
DOC: better documentaiton
Diffstat (limited to 'Modules/CheckIncludeFile.cmake')
-rw-r--r-- | Modules/CheckIncludeFile.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/CheckIncludeFile.cmake b/Modules/CheckIncludeFile.cmake index 0459fb3..ecb6fdc 100644 --- a/Modules/CheckIncludeFile.cmake +++ b/Modules/CheckIncludeFile.cmake @@ -5,7 +5,9 @@ # INCLUDE - name of include file # VARIABLE - variable to return result # - +# an optional third argument is the CFlags to add to the compile line +# or you can use CMAKE_REQUIRED_FLAGS +# MACRO(CHECK_INCLUDE_FILE INCLUDE VARIABLE) IF("${VARIABLE}" MATCHES "^${VARIABLE}$") SET(MACRO_CHECK_INCLUDE_FILE_FLAGS ${CMAKE_REQUIRED_FLAGS}) |