summaryrefslogtreecommitdiffstats
path: root/Modules/CheckLibraryExists.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-10 14:46:40 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-10 14:46:40 (GMT)
commit8b4af97281c4aa72482a8e387c064a59ec6b1ddf (patch)
tree254b20085d630e0e6a5c8bf38a67bb1b44f274f6 /Modules/CheckLibraryExists.cmake
parent6e57c4f82f30826bd127507c115859198b547158 (diff)
downloadCMake-8b4af97281c4aa72482a8e387c064a59ec6b1ddf.zip
CMake-8b4af97281c4aa72482a8e387c064a59ec6b1ddf.tar.gz
CMake-8b4af97281c4aa72482a8e387c064a59ec6b1ddf.tar.bz2
BUG: Fix CMAKE_REQUIRED_LIBRARIES stuff in this module
Diffstat (limited to 'Modules/CheckLibraryExists.cmake')
-rw-r--r--Modules/CheckLibraryExists.cmake2
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/CheckLibraryExists.cmake b/Modules/CheckLibraryExists.cmake
index fbdac5f..1003ca7 100644
--- a/Modules/CheckLibraryExists.cmake
+++ b/Modules/CheckLibraryExists.cmake
@@ -22,8 +22,6 @@ MACRO(CHECK_LIBRARY_EXISTS LIBRARY FUNCTION LOCATION VARIABLE)
IF(CMAKE_REQUIRED_LIBRARIES)
SET(CHECK_LIBRARY_EXISTS_LIBRARIES
${CHECK_LIBRARY_EXISTS_LIBRARIES} ${CMAKE_REQUIRED_LIBRARIES})
- ELSE(CMAKE_REQUIRED_LIBRARIES)
- SET(CHECK_LIBRARY_EXISTS_LIBRARIES)
ENDIF(CMAKE_REQUIRED_LIBRARIES)
TRY_COMPILE(${VARIABLE}
${CMAKE_BINARY_DIR}