summaryrefslogtreecommitdiff
path: root/configure.cmake
diff options
context:
space:
mode:
authorGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2012-04-23 16:26:22 +0300
committerGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2012-04-23 16:26:22 +0300
commite881e03e01e1c27fa4d7715aec750d34af56aadd (patch)
tree57deb3f70b9497352d68ff547ad4852de3543c3b /configure.cmake
parent18e2bee9d14215b396d26683605c3e3d5b49421e (diff)
downloadmariadb-git-e881e03e01e1c27fa4d7715aec750d34af56aadd.tar.gz
Bug #59148 - made tests experimental
Fixed a cmake 2.8.8 compilation problem.
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.cmake b/configure.cmake
index c3cc787ebc8..b8fa70db203 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -149,7 +149,9 @@ IF(UNIX)
SET(CMAKE_REQUIRED_LIBRARIES
${LIBM} ${LIBNSL} ${LIBBIND} ${LIBCRYPT} ${LIBSOCKET} ${LIBDL} ${CMAKE_THREAD_LIBS_INIT} ${LIBRT})
- LIST(REMOVE_DUPLICATES CMAKE_REQUIRED_LIBRARIES)
+ IF(NOT ${CMAKE_REQUIRED_LIBRARIES} MATCHES '')
+ LIST(REMOVE_DUPLICATES ${CMAKE_REQUIRED_LIBRARIES})
+ ENDIF()
LINK_LIBRARIES(${CMAKE_THREAD_LIBS_INIT})
OPTION(WITH_LIBWRAP "Compile with tcp wrappers support" OFF)