Fixed testbinlog compilation
Fixed testbinlog compilation
This commit is contained in:
@ -1,6 +1,5 @@
|
|||||||
if(BUILD_TESTS)
|
if(BUILD_TESTS)
|
||||||
aux_source_directory(${CMAKE_SOURCE_DIR}/server/modules/routing/binlog BINLOG_SOURCE)
|
add_executable(testbinlogrouter testbinlog.c ../blr.c ../blr_slave.c ../blr_master.c ../blr_file.c ../blr_cache.c)
|
||||||
add_executable(testbinlogrouter testbinlog.c ${BINLOG_SOURCE})
|
|
||||||
target_link_libraries(testbinlogrouter fullcore ssl pthread log_manager)
|
target_link_libraries(testbinlogrouter fullcore ssl pthread log_manager)
|
||||||
add_test(TestBinlogRouter ${CMAKE_CURRENT_BINARY_DIR}/testbinlogrouter)
|
add_test(TestBinlogRouter ${CMAKE_CURRENT_BINARY_DIR}/testbinlogrouter)
|
||||||
endif()
|
endif()
|
||||||
|
Reference in New Issue
Block a user