summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2013-01-28 17:24:50 +0100
committerVladislav Vaintroub <wlad@montyprogram.com>2013-01-28 17:24:50 +0100
commit52747434e583f877972ab913c7f4970a6d1f9b18 (patch)
treee19f46dfa27ada9d8aa09b6ed19db441c4082da5
parentf65e5841d7c6ff0e7470d01fab27fd6b42c64c9f (diff)
downloadmariadb-git-52747434e583f877972ab913c7f4970a6d1f9b18.tar.gz
fix embedded build with for cmake 2.6.2 (older cmake could not handle IF(NOT MATCHES)
-rw-r--r--libmysqld/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/libmysqld/CMakeLists.txt b/libmysqld/CMakeLists.txt
index 6ea5c3c84bf..5af5f5e1807 100644
--- a/libmysqld/CMakeLists.txt
+++ b/libmysqld/CMakeLists.txt
@@ -152,7 +152,9 @@ ENDIF()
SET(EMBEDDED_API)
FOREACH(f ${CLIENT_API_FUNCTIONS})
- IF(NOT(f MATCHES "plugin|_start$|_cont$"))
+ IF(f MATCHES "plugin|_start$|_cont$")
+ # Ignore functions, embedded does not export them
+ ELSE()
SET(EMBEDDED_API ${EMBEDDED_API} ${f})
ENDIF()
ENDFOREACH()