Fixed testbinlog compilation

Fixed testbinlog compilation
This commit is contained in:
MassimilianoPinto
2015-08-27 09:01:02 +02:00
parent b37489e6fd
commit 538d727571

View File

@ -1,6 +1,5 @@
if(BUILD_TESTS)
aux_source_directory(${CMAKE_SOURCE_DIR}/server/modules/routing/binlog BINLOG_SOURCE)
add_executable(testbinlogrouter testbinlog.c ${BINLOG_SOURCE})
add_executable(testbinlogrouter testbinlog.c ../blr.c ../blr_slave.c ../blr_master.c ../blr_file.c ../blr_cache.c)
target_link_libraries(testbinlogrouter fullcore ssl pthread log_manager)
add_test(TestBinlogRouter ${CMAKE_CURRENT_BINARY_DIR}/testbinlogrouter)
endif()