mirror of
https://github.com/MariaDB/server.git
synced 2026-04-28 19:25:32 +02:00
Exclude "mysql_embedded" from being installed or part of a binary
package, is more of a linktest of the embedded library.
This commit is contained in:
parent
242600b7a7
commit
40e3b67447
1 changed files with 3 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue