summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorSunanda Menon <sunanda.menon@oracle.com>2011-07-19 09:35:14 +0200
committerSunanda Menon <sunanda.menon@oracle.com>2011-07-19 09:35:14 +0200
commita31dc61865b537da7e8a3602080920f87756fb02 (patch)
tree12918d549eace4b28c548711328c6aebd39f5ac6 /libmysqld
parent3619ca59cbd954d1ec961ae6105954016934eed8 (diff)
downloadmariadb-git-a31dc61865b537da7e8a3602080920f87756fb02.tar.gz
#41836: Eventum Request to enable the mysql_embedded binary
Diffstat (limited to 'libmysqld')
-rw-r--r--libmysqld/examples/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/libmysqld/examples/CMakeLists.txt b/libmysqld/examples/CMakeLists.txt
index f4a888c10ef..9c7c5bdb85c 100644
--- a/libmysqld/examples/CMakeLists.txt
+++ b/libmysqld/examples/CMakeLists.txt
@@ -23,9 +23,7 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include
ADD_DEFINITIONS(-DEMBEDDED_LIBRARY -UMYSQL_CLIENT)
-# We never use "mysql_embedded", is more of a linktest, so we don't
-# use MYSQL_ADD_EXECUTABLE as that would install it and package it
-ADD_EXECUTABLE(mysql_embedded ../../client/completion_hash.cc
+MYSQL_ADD_EXECUTABLE(mysql_embedded ../../client/completion_hash.cc
../../client/mysql.cc ../../client/readline.cc)
TARGET_LINK_LIBRARIES(mysql_embedded mysqlserver)
IF(UNIX)