summaryrefslogtreecommitdiff
path: root/libmysqld
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
commit40e3b674474290096bd7236718e6f70c672f3dab (patch)
tree05630abf87c677e30f1d9d71b05e4b40a6a04650 /libmysqld
parent242600b7a7786bfc453ab7be6633de7da046abd0 (diff)
downloadmariadb-git-40e3b674474290096bd7236718e6f70c672f3dab.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')
-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)