summaryrefslogtreecommitdiff
path: root/libmysqld/examples
diff options
context:
space:
mode:
authorKent Boortz <kent.boortz@sun.com>2010-04-28 11:25:11 +0200
committerKent Boortz <kent.boortz@sun.com>2010-04-28 11:25:11 +0200
commitd110132ffce95352755604ef19abd9545fe78f89 (patch)
tree05630abf87c677e30f1d9d71b05e4b40a6a04650 /libmysqld/examples
parentb9303c87e3841cd75a8f95fc752497eca14a7c2c (diff)
downloadmariadb-git-d110132ffce95352755604ef19abd9545fe78f89.tar.gz
Exclude "mysql_embedded" from being installed or part of a binary
package, is more of a linktest of the embedded library.
Diffstat (limited to 'libmysqld/examples')
-rw-r--r--libmysqld/examples/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/libmysqld/examples/CMakeLists.txt b/libmysqld/examples/CMakeLists.txt
index f8adae9c931..f98470a2047 100644
--- a/libmysqld/examples/CMakeLists.txt
+++ b/libmysqld/examples/CMakeLists.txt
@@ -23,7 +23,9 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include
ADD_DEFINITIONS(-DEMBEDDED_LIBRARY -UMYSQL_CLIENT)
-MYSQL_ADD_EXECUTABLE(mysql_embedded ../../client/completion_hash.cc
+# 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
../../client/mysql.cc ../../client/readline.cc)
TARGET_LINK_LIBRARIES(mysql_embedded mysqlserver)
IF(UNIX)