List:Commits« Previous MessageNext Message »
From:Georgi Kodinov Date:April 23 2012 2:22pm
Subject:bzr push into mysql-trunk branch (Georgi.Kodinov:3723 to 3724)
View as plain text  
 3724 Georgi Kodinov	2012-04-23 [merge]
      merge

    modified:
      configure.cmake
 3723 Georgi Kodinov	2012-04-23 [merge]
      merge

    modified:
      configure.cmake
=== modified file 'configure.cmake'
--- a/configure.cmake	2012-04-23 13:35:00 +0000
+++ b/configure.cmake	2012-04-23 14:21:05 +0000
@@ -193,8 +193,9 @@ IF(UNIX)
   SET(CMAKE_REQUIRED_LIBRARIES 
     ${LIBM} ${LIBNSL} ${LIBBIND} ${LIBCRYPT} ${LIBSOCKET} ${LIBDL} ${CMAKE_THREAD_LIBS_INIT} ${LIBRT})
 
-  IF(NOT ${CMAKE_REQUIRED_LIBRARIES} MATCHES '')
-    LIST(REMOVE_DUPLICATES ${CMAKE_REQUIRED_LIBRARIES})
+  LIST(LENGTH CMAKE_REQUIRED_LIBRARIES required_libs_length)
+  IF(${required_libs_length} GREATER 0)
+    LIST(REMOVE_DUPLICATES CMAKE_REQUIRED_LIBRARIES)
   ENDIF()  
   LINK_LIBRARIES(${CMAKE_THREAD_LIBS_INIT})
   

No bundle (reason: useless for push emails).
Thread
bzr push into mysql-trunk branch (Georgi.Kodinov:3723 to 3724) Georgi Kodinov23 Apr