From 21c9797d1a981af12aead72781a5df4e9258b8ee Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Sun, 22 Aug 2021 19:05:32 +0300 Subject: [PATCH] Update CMakeLists.txt --- vendor/POCO/Data/MySQL/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/POCO/Data/MySQL/CMakeLists.txt b/vendor/POCO/Data/MySQL/CMakeLists.txt index 90ffee4f..5c6088eb 100644 --- a/vendor/POCO/Data/MySQL/CMakeLists.txt +++ b/vendor/POCO/Data/MySQL/CMakeLists.txt @@ -37,7 +37,7 @@ endif() # Some instalations don't have mysql_reset_connection() even if their version indicates otherwise # Debian 9 (Stretch) is one such example if(UNIX) - file(STRINGS "${MYSQL_INCLUDE_DIR}/mysql.h" lines REGEX "mysql_reset_connection") + file(STRINGS "${MYSQL_INCLUDE_DIR}/mysql/mysql.h" lines REGEX "mysql_reset_connection") if(lines) target_compile_definitions(DataMySQL PRIVATE HAVE_MYSQL_RESET_CONNECTION) endif()