summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Fischer <daniel.fischer@oracle.com>2010-08-31 13:06:56 +0200
committerDaniel Fischer <daniel.fischer@oracle.com>2010-08-31 13:06:56 +0200
commite924c91e57846821d0a1a6d786ddbef412565f7f (patch)
tree831f39381bfbd4771b3d7ce424b202cf48ad2b7e
parent04ae1aa9547fdad274127d97a244738c26f7e7e6 (diff)
downloadmariadb-git-e924c91e57846821d0a1a6d786ddbef412565f7f.tar.gz
Bug#56387 Create initial database in the proper location
-rw-r--r--sql/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/CMakeLists.txt b/sql/CMakeLists.txt
index 224cf67af7f..9d307da364d 100644
--- a/sql/CMakeLists.txt
+++ b/sql/CMakeLists.txt
@@ -271,8 +271,7 @@ IF(WIN32 AND MYSQLD_EXECUTABLE)
COMMAND ${CMAKE_COMMAND}
${CONFIG_PARAM} -P ${CMAKE_CURRENT_BINARY_DIR}/create_initial_db.cmake
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/data
- COMMAND ${CMAKE_COMMAND} -E touch initdb.dep
- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+ COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_CURRENT_BINARY_DIR}/initdb.dep
DEPENDS mysqld
)
ADD_CUSTOM_TARGET(initial_database