summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2012-10-16 10:34:38 +0200
committerSergei Golubchik <sergii@pisem.net>2012-10-16 10:34:38 +0200
commitc975fdbc8583273797ab0d816bfd49d2de4ab3a5 (patch)
tree8da0de5eaf4f4df8b1343531e94ae79ae0978c5d /cmake
parentc2da54ef26722ef7bfb793b08e236f5323704d38 (diff)
downloadmariadb-git-c975fdbc8583273797ab0d816bfd49d2de4ab3a5.tar.gz
a typo caused plugins to have no MYSQL_SERVER symbol defined.
don't try to define it for plugins, then, as they don't need it.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/plugin.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake
index 1e7f83ec227..524f368c6d7 100644
--- a/cmake/plugin.cmake
+++ b/cmake/plugin.cmake
@@ -133,7 +133,6 @@ MACRO(MYSQL_ADD_PLUGIN)
ENDIF()
ADD_LIBRARY(${target} STATIC ${SOURCES})
- SET_TARGET_PROPERTIES(${target} PROPERTIES COMPILE_DEFINITONS "MYSQL_SERVER")
DTRACE_INSTRUMENT(${target})
ADD_DEPENDENCIES(${target} GenError ${ARG_DEPENDENCIES})
RESTRICT_SYMBOL_EXPORTS(${target})
@@ -146,7 +145,7 @@ MACRO(MYSQL_ADD_PLUGIN)
DTRACE_INSTRUMENT(${target}_embedded)
IF(ARG_RECOMPILE_FOR_EMBEDDED)
SET_TARGET_PROPERTIES(${target}_embedded
- PROPERTIES COMPILE_DEFINITIONS "MYSQL_SERVER;EMBEDDED_LIBRARY")
+ PROPERTIES COMPILE_DEFINITIONS "EMBEDDED_LIBRARY")
ENDIF()
ADD_DEPENDENCIES(${target}_embedded GenError)
ENDIF()