From 8c4d9a0269bb864a42996835963dcc8b31b5329d Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Mon, 1 Feb 2021 03:41:05 +0200 Subject: [PATCH] Update CMakeLists.txt --- vendor/POCO/Data/MySQL/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vendor/POCO/Data/MySQL/CMakeLists.txt b/vendor/POCO/Data/MySQL/CMakeLists.txt index ab48f812..90ffee4f 100644 --- a/vendor/POCO/Data/MySQL/CMakeLists.txt +++ b/vendor/POCO/Data/MySQL/CMakeLists.txt @@ -37,9 +37,9 @@ 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.h" lines REGEX "mysql_reset_connection") if(lines) - target_compile_definitions(DataMySQL PRIVATE HAVE_MYSQL_RESET_CONNECTION) + target_compile_definitions(DataMySQL PRIVATE HAVE_MYSQL_RESET_CONNECTION) endif() endif()