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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user