diff options
-rw-r--r-- | 3rdparty/cmake/FindMYSQL.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/3rdparty/cmake/FindMYSQL.cmake b/3rdparty/cmake/FindMYSQL.cmake index c18e8d637..9da72073a 100644 --- a/3rdparty/cmake/FindMYSQL.cmake +++ b/3rdparty/cmake/FindMYSQL.cmake @@ -1,4 +1,4 @@ -# - Find mysqlclient +# - Find libmysql/mysqlclient # Find the native MySQL includes and library # # MYSQL_INCLUDE_DIRS - where to find mysql.h, etc. @@ -15,7 +15,7 @@ find_path( MYSQL_INCLUDE_DIRS "mysql.h" "$ENV{SYSTEMDRIVE}/MySQL/*/include" ) find_library( MYSQL_LIBRARIES - NAMES "mysqlclient" "mysqlclient_r" + NAMES "libmysql" "mysqlclient" "mysqlclient_r" PATHS "/usr/lib/mysql" "/usr/local/lib/mysql" |