Skip to content
Snippets Groups Projects
Commit 8b4af972 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

BUG: Fix CMAKE_REQUIRED_LIBRARIES stuff in this module

parent 6e57c4f8
No related branches found
No related tags found
No related merge requests found
......@@ -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}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment