From 4c04a6285f2c8f84bdd94cfc46a9f967fa4f10b0 Mon Sep 17 00:00:00 2001 From: Francis ANDRE Date: Sat, 20 Aug 2022 09:29:27 +0200 Subject: [PATCH] Update include paths Signed-off-by: Francis ANDRE --- cmake/FindMySQL.cmake | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cmake/FindMySQL.cmake b/cmake/FindMySQL.cmake index f3401f071..d6c635d94 100644 --- a/cmake/FindMySQL.cmake +++ b/cmake/FindMySQL.cmake @@ -35,10 +35,11 @@ find_path(MYSQL_INCLUDE_DIR mysql.h ${PC_MARIADB_INCLUDE_DIRS} /usr/include /usr/local/include - /usr/include /usr/mysql/include - /opt/mysql/mysql/include - /usr/local/mysql/include + /usr/local/mysql/include + /opt/include + /opt/local/include + /opt/mysql/include $ENV{MYSQL_INCLUDE_DIR} $ENV{MYSQL_DIR}/include $ENV{ProgramFiles}/MySQL/*/include