From e9152679d78c456e05be3743d7fed308c8304555 Mon Sep 17 00:00:00 2001 From: Shauren Date: Tue, 19 Jul 2022 00:33:07 +0200 Subject: Build: Fixed finding mysql binary on first cmake run Closes #28133 --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 4bd17f2c429..6ce6cb4be62 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,6 +78,9 @@ if(NOT WITHOUT_GIT) find_package(Git 1.7) endif() +# find mysql client binary (needed by genrev) +find_package(MySQL OPTIONAL_COMPONENTS binary) + # Find revision ID and hash of the sourcetree include(cmake/genrev.cmake) -- cgit v1.2.3