The parser is needed not only by mysql_client but also by the test program of the qc-plugins, so it need to be available someplace common. Not that nice that both a qc-component and mysql_client will include stuff from server/core/maxscale, but at least temporarily ok.
5 lines
207 B
CMake
5 lines
207 B
CMake
add_library(MySQLClient SHARED mysql_client.cc)
|
|
target_link_libraries(MySQLClient maxscale-common MySQLCommon)
|
|
set_target_properties(MySQLClient PROPERTIES VERSION "1.0.0")
|
|
install_module(MySQLClient core)
|