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 ()