From 1fe288bbd4f5fd62078ab1a7973d79412fdf2f9b Mon Sep 17 00:00:00 2001 From: Aibek Bukabayev Date: Fri, 15 Dec 2023 12:43:41 +0600 Subject: [PATCH] PXB-3210: PXB fails to build on macOS since 8.0.33-28 due to FIND_PROCPS() https://jira.percona.com/browse/PXB-3210 The problem is FIND_PROCPS() will always fail on systems that don't use procps. Now we verify that system is not macOS before running FIND_PROCPS(). --- storage/innobase/xtrabackup/src/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/storage/innobase/xtrabackup/src/CMakeLists.txt b/storage/innobase/xtrabackup/src/CMakeLists.txt index 68e33365a36b..801c760fc215 100644 --- a/storage/innobase/xtrabackup/src/CMakeLists.txt +++ b/storage/innobase/xtrabackup/src/CMakeLists.txt @@ -21,7 +21,10 @@ OPTION(WITH_VERSION_CHECK "Build with version check" ON) INCLUDE(${MYSQL_CMAKE_SCRIPT_DIR}/compile_flags.cmake) FIND_GCRYPT() -FIND_PROCPS() + +IF(NOT APPLE) + FIND_PROCPS() +ENDIF() CHECK_TYPE_SIZE("unsigned long" SIZEOF_UNSIGNED_LONG)