summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJonathan Perkin <jonathan.perkin@oracle.com>2010-06-28 18:30:53 +0100
committerJonathan Perkin <jonathan.perkin@oracle.com>2010-06-28 18:30:53 +0100
commitc72dec21843af3cdd0387a738ef5c75213565897 (patch)
tree7dad82192da7be2803e4f79de65f59f29bb12d0a /scripts
parent829cd2446d59b34ae5a53268fcf09e30d4779040 (diff)
downloadmariadb-git-c72dec21843af3cdd0387a738ef5c75213565897.tar.gz
mysqlbug is Unix-only.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/CMakeLists.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt
index 97ba9f93f13..90261501452 100755
--- a/scripts/CMakeLists.txt
+++ b/scripts/CMakeLists.txt
@@ -175,13 +175,10 @@ IF(CMAKE_COMPILER_IS_GNUCXX)
ELSE()
SET(CXX_VERSION "")
ENDIF()
-ENDIF(UNIX)
-IF(UNIX)
- CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/mysqlbug.sh
+CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/mysqlbug.sh
${CMAKE_CURRENT_BINARY_DIR}/mysqlbug ESCAPE_QUOTES @ONLY)
SET(DEST ${INSTALL_SCRIPTDIR})
-ENDIF()
INSTALL_SCRIPT(
"${CMAKE_CURRENT_BINARY_DIR}/mysqlbug"
@@ -193,6 +190,8 @@ INSTALL_SCRIPT(
SET(CFLAGS ${BACKUP_CFLAGS})
SET(CXXFLAGS ${BACKUP_CXXFLAGS})
+ENDIF(UNIX)
+
# Really ugly, one script, "mysql_install_db", needs prefix set to ".",
# i.e. makes access relative the current directory. This matches
# the documentation, so better not change this.