From 6ef5ae0f3c0003611a1b2fd3d80f574f39a0e9c5 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Fri, 24 May 2019 17:50:46 +0800 Subject: [PATCH] =?UTF-8?q?fix=20#32=20:=20=E5=85=BC=E5=AE=B9=E6=96=B0?= =?UTF-8?q?=E8=80=81=E7=89=88=E6=9C=ACmysql=E5=AE=A2=E6=88=B7=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 3rdpart/ZLToolKit | 2 +- CMakeLists.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/3rdpart/ZLToolKit b/3rdpart/ZLToolKit index 1543d8dd..02d8b5df 160000 --- a/3rdpart/ZLToolKit +++ b/3rdpart/ZLToolKit @@ -1 +1 @@ -Subproject commit 1543d8dd9c983a02c15a3a5492b68a7ba42be9e0 +Subproject commit 02d8b5df6a93cc84b605a548220fd552061e66c5 diff --git a/CMakeLists.txt b/CMakeLists.txt index 9570b192..f70d271c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,6 +61,7 @@ find_package(MYSQL QUIET) if (MYSQL_FOUND AND ENABLE_MYSQL) message(STATUS "found library:${MYSQL_LIBRARIES},ENABLE_MYSQL defined") include_directories(${MYSQL_INCLUDE_DIR}) + include_directories(${MYSQL_INCLUDE_DIR}/mysql) add_definitions(-DENABLE_MYSQL) list(APPEND LINK_LIB_LIST ${MYSQL_LIBRARIES}) endif ()