Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR: 269256 Reported by: Martin Birgmeier <d8zNeCFG@aon.at>
- Loading branch information
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- cmake/modules/packages/FindMySQL.cmake.orig 2023-07-06 11:14:14 UTC | ||
+++ cmake/modules/packages/FindMySQL.cmake | ||
@@ -23,7 +23,7 @@ if( MYSQL_INCLUDE_DIR AND EXISTS "${MYSQL_INCLUDE_DIR} | ||
"${MYSQL_VERSION_H}" ) | ||
endif() | ||
|
||
-find_library(MYSQL_LIBRARY NAMES mysqlclient mysqlclient_r) | ||
+find_library(MYSQL_LIBRARY NAMES mysqlclient mysqlclient_r PATHS %%LOCALBASE%%/lib/mysql) | ||
|
||
if( NOT CMAKE_C_COMPILER_LOADED ) | ||
message(AUTHOR_WARNING "C language not enabled: Skipping detection of extra link libraries.") |