From 8b4af97281c4aa72482a8e387c064a59ec6b1ddf Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Fri, 10 Feb 2006 09:46:40 -0500 Subject: [PATCH] BUG: Fix CMAKE_REQUIRED_LIBRARIES stuff in this module --- Modules/CheckLibraryExists.cmake | 2 -- 1 file changed, 2 deletions(-) diff --git a/Modules/CheckLibraryExists.cmake b/Modules/CheckLibraryExists.cmake index fbdac5f3e..1003ca7ae 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}