11 lines
592 B
Diff
11 lines
592 B
Diff
--- a/libs/libmysqlxx/cmake/find_mysqlclient.cmake
|
|
+++ b/libs/libmysqlxx/cmake/find_mysqlclient.cmake
|
|
@@ -24,7 +24,7 @@ if (ENABLE_MYSQL)
|
|
if (USE_STATIC_LIBRARIES)
|
|
find_library (STATIC_MYSQLCLIENT_LIB mariadbclient mysqlclient PATHS ${MYSQL_LIB_PATHS})
|
|
else ()
|
|
- find_library (MYSQLCLIENT_LIBRARIES mariadbclient mysqlclient PATHS ${MYSQL_LIB_PATHS})
|
|
+ find_library (MYSQLCLIENT_LIBRARIES mariadbclient mysqlclient PATH_SUFFIXES mysql PATHS ${MYSQL_LIB_PATHS})
|
|
endif ()
|
|
|
|
if (MYSQL_INCLUDE_DIR AND (STATIC_MYSQLCLIENT_LIB OR MYSQLCLIENT_LIBRARIES))
|