diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2017-01-04 22:50:48 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2017-01-06 16:25:25 +0100 |
commit | 82b8741ad00e1ffdcbd0e2cf82f3ab31a7f3ce8b (patch) | |
tree | 6e0b22a6ff4c0942237bded495150d289ca11ef3 /CMakeLists.txt | |
parent | ae6eb7a0020eb4d51f97f924e5320325e5b63934 (diff) | |
download | mariadb-git-82b8741ad00e1ffdcbd0e2cf82f3ab31a7f3ce8b.tar.gz |
Windows : use meaningful DEFAULT_MYSQL_HOME - base directory
for the default installation.
It is now defined as "C:/Program Files/MariaDB ${MYSQL_BASE_VERSION}"
which is where installer indeed puts it by default.
It still does not cover every case -32bit installer on 64 bit Windows would put installation
root under "C:/Program Files (x86)", but better than the path used
previously C:/MariaDB${MYSQL_BASE_VERSION}, which was never correct.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0adbb85d431..b6ffedabd14 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -303,7 +303,7 @@ ENDIF() # Set commonly used variables IF(WIN32) - SET(DEFAULT_MYSQL_HOME "C:/MariaDB${MYSQL_BASE_VERSION}") + SET(DEFAULT_MYSQL_HOME "C:/Program Files/MariaDB ${MYSQL_BASE_VERSION}") SET(SHAREDIR share) ELSE() SET(DEFAULT_MYSQL_HOME ${CMAKE_INSTALL_PREFIX}) |