Merged BUG#49978 with (BUG#51264 + BUG#51925) in 5.5-bugteam.
This commit is contained in:
commit
4937765c8b
@ -59,6 +59,4 @@ SET(HEADERS
|
|||||||
)
|
)
|
||||||
|
|
||||||
INSTALL(FILES ${HEADERS} DESTINATION ${INSTALL_INCLUDEDIR} COMPONENT Development)
|
INSTALL(FILES ${HEADERS} DESTINATION ${INSTALL_INCLUDEDIR} COMPONENT Development)
|
||||||
INSTALL(DIRECTORY mysql/ DESTINATION ${INSTALL_INCLUDEDIR} COMPONENT Development FILES_MATCHING PATTERN "*.h" )
|
INSTALL(DIRECTORY mysql/ DESTINATION ${INSTALL_INCLUDEDIR}/mysql COMPONENT Development FILES_MATCHING PATTERN "*.h")
|
||||||
|
|
||||||
|
|
||||||
|
@ -92,7 +92,11 @@ plugindir_rel=`echo $plugindir | sed -e "s;^$basedir/;;"`
|
|||||||
fix_path plugindir $plugindir_rel lib/mysql/plugin lib/plugin
|
fix_path plugindir $plugindir_rel lib/mysql/plugin lib/plugin
|
||||||
|
|
||||||
pkgincludedir='@pkgincludedir@'
|
pkgincludedir='@pkgincludedir@'
|
||||||
fix_path pkgincludedir include/mysql include
|
if [ -f "$basedir/include/mysql/mysql.h" ]; then
|
||||||
|
pkgincludedir="$basedir/include/mysql"
|
||||||
|
elif [ -f "$basedir/include/mysql.h" ]; then
|
||||||
|
pkgincludedir="$basedir/include"
|
||||||
|
fi
|
||||||
|
|
||||||
version='@VERSION@'
|
version='@VERSION@'
|
||||||
socket='@MYSQL_UNIX_ADDR@'
|
socket='@MYSQL_UNIX_ADDR@'
|
||||||
|
@ -48,14 +48,7 @@ FOREACH(inifile my-huge my-innodb-heavy-4G my-large my-medium my-small)
|
|||||||
ENDFOREACH()
|
ENDFOREACH()
|
||||||
|
|
||||||
IF(UNIX)
|
IF(UNIX)
|
||||||
# XXX: again, used elsewhere (scripts/), should be standardised in
|
SET(prefix ${CMAKE_INSTALL_PREFIX})
|
||||||
# XXX: install_layout.cmake
|
|
||||||
IF(INSTALL_LAYOUT MATCHES "STANDALONE")
|
|
||||||
SET(prefix ".")
|
|
||||||
ELSE()
|
|
||||||
SET(prefix ${CMAKE_INSTALL_PREFIX})
|
|
||||||
ENDIF()
|
|
||||||
|
|
||||||
FOREACH(script mysqld_multi.server mysql-log-rotate binary-configure
|
FOREACH(script mysqld_multi.server mysql-log-rotate binary-configure
|
||||||
config.medium.ini config.small.ini config.huge.ini ndb-config-2-node.ini)
|
config.medium.ini config.small.ini config.huge.ini ndb-config-2-node.ini)
|
||||||
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${script}.sh
|
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${script}.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user