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/CheckLibraryExists.cmake | |
parent | 35b529cc3e4dde27ec1c873eefb919c16c089dad (diff) | |
download | CMake-0a5b9db60b8411bb3b063e627ff317b34609562a.zip CMake-0a5b9db60b8411bb3b063e627ff317b34609562a.tar.gz CMake-0a5b9db60b8411bb3b063e627ff317b34609562a.tar.bz2 |
DOC: better documentaiton
Diffstat (limited to 'Modules/CheckLibraryExists.cmake')
-rw-r--r-- | Modules/CheckLibraryExists.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/CheckLibraryExists.cmake b/Modules/CheckLibraryExists.cmake index 830d879..c19568f 100644 --- a/Modules/CheckLibraryExists.cmake +++ b/Modules/CheckLibraryExists.cmake @@ -5,6 +5,10 @@ # FUNCTION - the name of the function # VARIABLE - variable to store the result # +# If CMAKE_REQUIRED_FLAGS is set then those flags will be passed into the +# compile of the program likewise if CMAKE_REQUIRED_LIBRARIES is set then +# those libraries will be linked against the test program + MACRO(CHECK_LIBRARY_EXISTS LIBRARY FUNCTION LOCATION VARIABLE) IF("${VARIABLE}" MATCHES "^${VARIABLE}$") |