MXS-1275: Compile mysql_client as C++

A custom parser for detecting "set sql_mode=ORACLE" is needed
and writing that is C++ is more convenient than writing it in
C. Consequently, so as to be able to use that parser, mysql_client
must be compiled as C++.
This commit is contained in:
Johan Wikman
2017-05-26 11:55:14 +03:00
parent 94b0b082e4
commit cd1e3f26cf
2 changed files with 21 additions and 42 deletions

View File

@ -1,4 +1,4 @@
add_library(MySQLClient SHARED mysql_client.c)
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)