mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Auto-merge from mysql-trunk-stage.
This commit is contained in:
commit
07702953a2
38 changed files with 1301 additions and 275 deletions
|
|
@ -97,7 +97,7 @@ ELSE()
|
|||
SET(MYSQLD_SOURCE main.cc ${DTRACE_PROBES_ALL})
|
||||
ENDIF()
|
||||
|
||||
MYSQL_ADD_EXECUTABLE(mysqld ${MYSQLD_SOURCE} DESTINATION ${INSTALL_SBINDIR})
|
||||
MYSQL_ADD_EXECUTABLE(mysqld ${MYSQLD_SOURCE} DESTINATION ${INSTALL_SBINDIR} COMPONENT Server)
|
||||
|
||||
IF(NOT WITHOUT_DYNAMIC_PLUGINS)
|
||||
SET_TARGET_PROPERTIES(mysqld PROPERTIES ENABLE_EXPORTS TRUE)
|
||||
|
|
@ -252,7 +252,7 @@ IF(INSTALL_LAYOUT STREQUAL "STANDALONE")
|
|||
# Avoid completely empty directories and install dummy file instead.
|
||||
SET(DUMMY_FILE ${CMAKE_CURRENT_BINARY_DIR}/.empty )
|
||||
FILE(WRITE ${DUMMY_FILE} "")
|
||||
INSTALL(FILES ${DUMMY_FILE} DESTINATION data/test)
|
||||
INSTALL(FILES ${DUMMY_FILE} DESTINATION data/test COMPONENT DataFiles)
|
||||
|
||||
# Install initial database on windows
|
||||
IF(NOT CMAKE_CROSSCOMPILING)
|
||||
|
|
@ -280,7 +280,7 @@ IF(WIN32 AND MYSQLD_EXECUTABLE)
|
|||
ALL
|
||||
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/data/mysql/user.frm
|
||||
)
|
||||
INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/data DESTINATION .
|
||||
INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/data DESTINATION . COMPONENT DataFiles
|
||||
PATTERN "bootstrap.sql" EXCLUDE)
|
||||
ELSE()
|
||||
# Not windows or cross compiling, just install an empty directory
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue