Commit e74d4c2b authored by Jonathan Perkin's avatar Jonathan Perkin

mysqlbug is Unix-only.

parent c179a23c
...@@ -175,13 +175,10 @@ IF(CMAKE_COMPILER_IS_GNUCXX) ...@@ -175,13 +175,10 @@ IF(CMAKE_COMPILER_IS_GNUCXX)
ELSE() ELSE()
SET(CXX_VERSION "") SET(CXX_VERSION "")
ENDIF() 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) ${CMAKE_CURRENT_BINARY_DIR}/mysqlbug ESCAPE_QUOTES @ONLY)
SET(DEST ${INSTALL_SCRIPTDIR}) SET(DEST ${INSTALL_SCRIPTDIR})
ENDIF()
INSTALL_SCRIPT( INSTALL_SCRIPT(
"${CMAKE_CURRENT_BINARY_DIR}/mysqlbug" "${CMAKE_CURRENT_BINARY_DIR}/mysqlbug"
...@@ -193,6 +190,8 @@ INSTALL_SCRIPT( ...@@ -193,6 +190,8 @@ INSTALL_SCRIPT(
SET(CFLAGS ${BACKUP_CFLAGS}) SET(CFLAGS ${BACKUP_CFLAGS})
SET(CXXFLAGS ${BACKUP_CXXFLAGS}) SET(CXXFLAGS ${BACKUP_CXXFLAGS})
ENDIF(UNIX)
# Really ugly, one script, "mysql_install_db", needs prefix set to ".", # Really ugly, one script, "mysql_install_db", needs prefix set to ".",
# i.e. makes access relative the current directory. This matches # i.e. makes access relative the current directory. This matches
# the documentation, so better not change this. # the documentation, so better not change this.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment