Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop
This commit is contained in:
@ -21,6 +21,7 @@ check_deps()
|
||||
check_dirs()
|
||||
find_package(Valgrind)
|
||||
find_package(MySQLClient)
|
||||
find_package(MySQLConfig)
|
||||
|
||||
set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_RPATH}:${CMAKE_INSTALL_PREFIX}/lib:${CMAKE_INSTALL_PREFIX}/modules)
|
||||
|
||||
|
13
FindMySQLConfig.cmake
Normal file
13
FindMySQLConfig.cmake
Normal file
@ -0,0 +1,13 @@
|
||||
# This CMake file tries to find the the MySQL configuration tool
|
||||
# The following variables are set:
|
||||
# MYSQLCONFIG_FOUND - System has MySQL and the tool was found
|
||||
# MYSQLCONFIG_EXECUTABLE - The MySQL configuration tool executable
|
||||
find_program(MYSQLCONFIG_EXECUTABLE mysql_config)
|
||||
if(MYSQLCONFIG_EXECUTABLE MATCHES "MYSQLCONFIG_EXECUTABLE-NOTFOUND")
|
||||
message(FATAL_ERROR "Cannot find mysql_config.")
|
||||
set(MYSQLCONFIG_FOUND FALSE CACHE INTERNAL "")
|
||||
unset(MYSQLCONFIG_EXECUTABLE)
|
||||
else()
|
||||
message(STATUS "mysql_config found: ${MYSQLCONFIG_EXECUTABLE}")
|
||||
set(MYSQLCONFIG_FOUND TRUE CACHE INTERNAL "")
|
||||
endif()
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -3,7 +3,7 @@
|
||||
$(MAKE) ROOT_PATH=$(shell pwd) HOME="" clean
|
||||
$(MAKE) ROOT_PATH=$(shell pwd) HOME="" depend
|
||||
$(MAKE) ROOT_PATH=$(shell pwd) HOME=""
|
||||
$(MAKE) DEST="$(shell pwd)/binaries" ROOT_PATH=$(shell pwd) HOME="" ERRMSG="/usr/share/mysql/english" EMBEDDED_LIB="/usr/lib/x86_64-linux-gnu/" install
|
||||
$(MAKE) DEST="$(shell pwd)/binaries" ROOT_PATH=$(shell pwd) HOME="" ERRMSG="/usr/share/mysql/english" EMBEDDED_LIB="$(mysql_config --variable=pkglibdir)" install
|
||||
dh $@
|
||||
override_dh_usrlocal:
|
||||
override_dh_auto_clean:
|
||||
|
Reference in New Issue
Block a user