diff --git a/components/core/cmake/Modules/FindMariaDBClient.cmake b/components/core/cmake/Modules/FindMariaDBClient.cmake index ac4ab5207..4d13436e5 100644 --- a/components/core/cmake/Modules/FindMariaDBClient.cmake +++ b/components/core/cmake/Modules/FindMariaDBClient.cmake @@ -36,7 +36,7 @@ if(NOT mariadbclient_PKGCONF_FOUND AND APPLE) endif() if(NOT mariadbclient_PKGCONF_FOUND) - message(FATAL_ERROR "PkgConfig cannot find mariadb") + message(FATAL_ERROR "pkg-config cannot find ${mariadbclient_LIBNAME}") endif() # Set include directory