diff --git a/maxscale-system-test/cdc_connector/CMakeLists.txt b/maxscale-system-test/cdc_connector/CMakeLists.txt index acdac8897..6164df48b 100644 --- a/maxscale-system-test/cdc_connector/CMakeLists.txt +++ b/maxscale-system-test/cdc_connector/CMakeLists.txt @@ -12,8 +12,8 @@ set(CMAKE_CXX_FLAGS_RELEASE "-fPIC -std=c++0x -O2") set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-fPIC -std=c++0x -O2") include_directories(${JANSSON_INCLUDE_DIR}) -add_library(cdc_connector STATIC cdc_connector.cpp) -target_link_libraries(cdc_connector ${JANSSON_LIBRARIES}) +add_library(cdc_connector SHARED cdc_connector.cpp) +target_link_libraries(cdc_connector ${JANSSON_LIBRARIES} crypto) add_dependencies(cdc_connector jansson) install(TARGETS cdc_connector DESTINATION lib) install(FILES cdc_connector.h DESTINATION include)