Build CDC connector into the core test library

The CDC connector can be build directly into the core testing library for
testing purposes. This way we remove an unnecessary dependency on a
library. This commit fixes the linkage failure of the cdc_datatypes test.
This commit is contained in:
Markus Mäkelä
2018-01-30 08:19:08 +02:00
parent ab0ea417ae
commit 1a33c1caef
2 changed files with 8 additions and 7 deletions

View File

@ -103,10 +103,6 @@ ExternalProject_Add(connector-c
include_directories(${CMAKE_BINARY_DIR}/include)
set(MYSQL_CLIENT ${CMAKE_BINARY_DIR}/lib/mariadb/libmariadbclient.a CACHE INTERNAL "")
# Build the CDC connector
add_library(cdc_connector ${CMAKE_SOURCE_DIR}/../connectors/cdc-connector/cdc_connector.cpp)
include_directories(${CMAKE_SOURCE_DIR}/../connectors/cdc-connector/)
#
# Check that all required components are present. To build even without them,
# add e.g. -DHAVE_PHP=Y to the CMake invocation