Add dependency on Jansson to the test core

The core library depends on Jansson and it must be built first.
This commit is contained in:
Markus Mäkelä 2017-12-21 11:37:18 +02:00
parent 3fb44e6b6e
commit 6348ca7449

View File

@ -53,7 +53,7 @@ add_library(testcore SHARED testconnections.cpp nodes.cpp mariadb_nodes.cpp maxs
blob_test.cpp)
target_link_libraries(testcore ${MYSQL_CLIENT} ${CDC_CONNECTOR_LIBRARIES} ${JANSSON_LIBRARIES} z nsl m pthread ssl dl rt crypto crypt)
install(TARGETS testcore DESTINATION system-test)
add_dependencies(testcore connector-c cdc_connector)
add_dependencies(testcore connector-c cdc_connector jansson)
# Tool used to check backend state
add_test_executable_notest(check_backend.cpp check_backend check_backend LABELS CONFIG)