mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Fix a couple fo things replated to MSI
This commit is contained in:
parent
900317e6bd
commit
f68e8aa860
10 changed files with 245 additions and 50 deletions
|
|
@ -241,7 +241,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)
|
||||
|
|
@ -269,7 +269,7 @@ IF(WIN32 AND MYSQLD_EXECUTABLE)
|
|||
ALL
|
||||
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/data/mysql/user.frm
|
||||
)
|
||||
INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/data/mysql DESTINATION data)
|
||||
INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/data/mysql DESTINATION data COMPONENT DataFiles)
|
||||
ELSE()
|
||||
# Not windows or cross compiling, just install an empty directory
|
||||
INSTALL(FILES ${DUMMY_FILE} DESTINATION data/mysql)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue