MXS-3529: Update to connector-c 3.1.13

This fixes the problem with the newest CMake versions. Also fixed the unit
test option.
This commit is contained in:
Markus Mäkelä 2021-05-24 14:04:53 +03:00
parent e9b767d463
commit 7e97144274
No known key found for this signature in database
GPG Key ID: 5CE746D557ACC499

View File

@ -9,13 +9,13 @@ set(MARIADB_CONNECTOR_C_REPO "https://github.com/MariaDB/mariadb-connector-c.git
CACHE STRING "MariaDB Connector-C Git repository")
# Connector-C tag to use
set(MARIADB_CONNECTOR_C_TAG "v3.1.8"
set(MARIADB_CONNECTOR_C_TAG "v3.1.13"
CACHE STRING "MariaDB Connector-C Git tag")
ExternalProject_Add(connector-c
GIT_REPOSITORY ${MARIADB_CONNECTOR_C_REPO}
GIT_TAG ${MARIADB_CONNECTOR_C_TAG}
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR}/connector-c/install -DWITH_UNITTEST=N -DWITH_CURL=N
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR}/connector-c/install -DWITH_UNIT_TESTS=N -DWITH_CURL=N
BINARY_DIR ${CMAKE_BINARY_DIR}/connector-c
INSTALL_DIR ${CMAKE_BINARY_DIR}/connector-c/install
UPDATE_COMMAND "")