Skip to content

Commit

Permalink
PXB-3210: PXB fails to build on macOS since 8.0.33-28 due to FIND_PRO…
Browse files Browse the repository at this point in the history
…CPS()

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().
  • Loading branch information
aybek committed Dec 15, 2023
1 parent f381b30 commit 1fe288b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion storage/innobase/xtrabackup/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 1fe288b

Please sign in to comment.