diff options
author | Kent Boortz <kent.boortz@sun.com> | 2010-05-25 10:14:07 +0200 |
---|---|---|
committer | Kent Boortz <kent.boortz@sun.com> | 2010-05-25 10:14:07 +0200 |
commit | b2c4dd80efe3e873f3aa25c8bd83208d213fb7f6 (patch) | |
tree | 64e4a231d069a4c4e30ff3dd4f65a1a7104f4cdb /configure.cmake | |
parent | 9d83e2a79c55220c00191b8a47118497743f7f66 (diff) | |
download | mariadb-git-b2c4dd80efe3e873f3aa25c8bd83208d213fb7f6.tar.gz |
configure.cmake
- Reverted a faulty change of MY_SEARCH_LIBS
- Added the proper change for MY_SEARCH_LIBS and HAVE_<libname>
Diffstat (limited to 'configure.cmake')
-rw-r--r-- | configure.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.cmake b/configure.cmake index 6734b652676..eeefa054de0 100644 --- a/configure.cmake +++ b/configure.cmake @@ -105,7 +105,8 @@ FUNCTION(MY_SEARCH_LIBS func libs result) FOREACH(lib ${libs}) CHECK_LIBRARY_EXISTS(${lib} ${func} "" HAVE_${func}_IN_${lib}) IF(HAVE_${func}_IN_${lib}) - SET(${result} HAVE_${lib} PARENT_SCOPE) + SET(${result} ${lib} PARENT_SCOPE) + SET(HAVE_${result} 1 PARENT_SCOPE) RETURN() ENDIF() ENDFOREACH() |