Rename BUILD_AVRO to BUILD_CDC
Using the broader CDC name instead of AVRO for the CMake variable name makes more sense as there are modules other than the avrorouter.
This commit is contained in:
@ -1,6 +1,4 @@
|
||||
if(BUILD_CDC)
|
||||
add_library(CDCPlainAuth SHARED cdc_plain_auth.c)
|
||||
target_link_libraries(CDCPlainAuth maxscale-common)
|
||||
set_target_properties(CDCPlainAuth PROPERTIES VERSION "1.0.0")
|
||||
install_module(CDCPlainAuth core)
|
||||
endif()
|
||||
add_library(CDCPlainAuth SHARED cdc_plain_auth.c)
|
||||
target_link_libraries(CDCPlainAuth maxscale-common)
|
||||
set_target_properties(CDCPlainAuth PROPERTIES VERSION "1.0.0")
|
||||
install_module(CDCPlainAuth core)
|
||||
|
@ -1,4 +1,7 @@
|
||||
add_subdirectory(CDCPlainAuth)
|
||||
if(BUILD_CDC)
|
||||
add_subdirectory(CDCPlainAuth)
|
||||
endif()
|
||||
|
||||
add_subdirectory(GSSAPI)
|
||||
add_subdirectory(HTTPAuth)
|
||||
add_subdirectory(MaxAdminAuth)
|
||||
@ -7,10 +10,3 @@ add_subdirectory(MySQLBackendAuth)
|
||||
add_subdirectory(NullAuthAllow)
|
||||
add_subdirectory(NullAuthDeny)
|
||||
|
||||
# if(BUILD_TESTS)
|
||||
# add_library(testprotocol SHARED testprotocol.c)
|
||||
# set_target_properties(testprotocol PROPERTIES VERSION "1.0.0")
|
||||
# target_link_libraries(testprotocol maxscale-common)
|
||||
# install_module(testprotocol core)
|
||||
# endif()
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
if(BUILD_AVRO)
|
||||
if(BUILD_CDC)
|
||||
add_subdirectory(CDC)
|
||||
add_subdirectory(examples)
|
||||
endif()
|
||||
|
@ -1,4 +1,4 @@
|
||||
if(BUILD_AVRO)
|
||||
if(BUILD_CDC)
|
||||
add_subdirectory(avrorouter)
|
||||
endif()
|
||||
if(BUILD_BINLOG)
|
||||
|
Reference in New Issue
Block a user