From b30751de430458e7799eff172257a75a0ed1660f Mon Sep 17 00:00:00 2001 From: silverqx Date: Fri, 7 Jun 2024 12:53:26 +0200 Subject: [PATCH] cmake bugfix FinMySQL module --- cmake/Modules/FindMySQL.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Modules/FindMySQL.cmake b/cmake/Modules/FindMySQL.cmake index e420fd39e..35547a67e 100644 --- a/cmake/Modules/FindMySQL.cmake +++ b/cmake/Modules/FindMySQL.cmake @@ -40,7 +40,7 @@ else() set(tmpFindLibraryNames ${tmpFindLibraryNames_mysql} ${tmpFindLibraryNames_maria}) endif() -pkg_check_modules(PC_MySQL QUIET ${tmpCheckModules}) +pkg_search_module(PC_MySQL QUIET ${tmpCheckModules}) find_path(MySQL_INCLUDE_DIR NAMES mysql.h