Debian 10: MySQL/MariaDB related fixes

Change-Id: I538caf6dedaa785061194a87c7e4965df3839088
This commit is contained in:
Horst Schirmeier
2019-10-21 17:14:01 +02:00
committed by Horst Schirmeier
parent 198a2dde97
commit c34917ca80
15 changed files with 33 additions and 25 deletions

View File

@ -24,7 +24,7 @@ include_directories(${PROTOBUF_INCLUDE_DIRS})
include_directories(${CMAKE_CURRENT_BINARY_DIR})
find_package(MySQL REQUIRED)
include_directories(${MYSQL_INCLUDE_DIR})
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${MYSQL_CFLAGS}")
set(PROTOBUF_IMPORT_DIRS ${PROTOBUF_IMPORT_DIRS} ${CMAKE_CURRENT_BINARY_DIR}/../../core/comm)
PROTOBUF_GENERATE_CPP(PROTO_SRCS PROTO_HDRS ${MY_PROTOS})