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:
		@ -9,13 +9,13 @@ set(MARIADB_CONNECTOR_C_REPO "https://github.com/MariaDB/mariadb-connector-c.git
 | 
				
			|||||||
  CACHE STRING "MariaDB Connector-C Git repository")
 | 
					  CACHE STRING "MariaDB Connector-C Git repository")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Connector-C tag to use
 | 
					# 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")
 | 
					  CACHE STRING "MariaDB Connector-C Git tag")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ExternalProject_Add(connector-c
 | 
					ExternalProject_Add(connector-c
 | 
				
			||||||
  GIT_REPOSITORY ${MARIADB_CONNECTOR_C_REPO}
 | 
					  GIT_REPOSITORY ${MARIADB_CONNECTOR_C_REPO}
 | 
				
			||||||
  GIT_TAG ${MARIADB_CONNECTOR_C_TAG}
 | 
					  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
 | 
					  BINARY_DIR ${CMAKE_BINARY_DIR}/connector-c
 | 
				
			||||||
  INSTALL_DIR ${CMAKE_BINARY_DIR}/connector-c/install
 | 
					  INSTALL_DIR ${CMAKE_BINARY_DIR}/connector-c/install
 | 
				
			||||||
  UPDATE_COMMAND "")
 | 
					  UPDATE_COMMAND "")
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user