diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-08-17 17:20:09 +0400 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-08-17 17:20:09 +0400 |
commit | c06eaf21b78093524e1a39c55415d4eab3d2cd78 (patch) | |
tree | 0b0e1ed3d8c1e877f2e66651cf999b5af5e64975 /CMakeLists.txt | |
parent | 758b012ff23597faa099a2f9562a54f1bae2cca6 (diff) | |
download | mariadb-git-c06eaf21b78093524e1a39c55415d4eab3d2cd78.tar.gz |
MDEV-4165 [PATCH] RFE: make tmpdir a build-time configurable option
support -DTMPDIR=/path in CMakeLists.txt
Patch by Honza Horak.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7e22918dd64..40062957372 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -245,7 +245,9 @@ SET(PLUGINDIR "${DEFAULT_MYSQL_HOME}/${INSTALL_PLUGINDIR}") IF(INSTALL_SYSCONFDIR) SET(DEFAULT_SYSCONFDIR "${INSTALL_SYSCONFDIR}") ENDIF() - +IF(TMPDIR) + SET(DEFAULT_TMPDIR "${TMPDIR}") +ENDIF() # Run platform tests INCLUDE(configure.cmake) |