From 088aaf1d416e5ea1f6986d82df9ba63d7bf1197f Mon Sep 17 00:00:00 2001 From: Matthew John Cheetham Date: Fri, 13 Feb 2026 19:54:56 +0000 Subject: build: include procinfo.c impl for macOS Include an implementation of trace2_collect_process_info for macOS. Signed-off-by: Matthew John Cheetham Signed-off-by: Junio C Hamano --- contrib/buildsystems/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'contrib') diff --git a/contrib/buildsystems/CMakeLists.txt b/contrib/buildsystems/CMakeLists.txt index edb0fc04ad..d489f0cada 100644 --- a/contrib/buildsystems/CMakeLists.txt +++ b/contrib/buildsystems/CMakeLists.txt @@ -274,6 +274,8 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows") elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux") add_compile_definitions(PROCFS_EXECUTABLE_PATH="/proc/self/exe" HAVE_DEV_TTY ) list(APPEND compat_SOURCES unix-socket.c unix-stream-server.c compat/linux/procinfo.c) +elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin") + list(APPEND compat_SOURCES compat/darwin/procinfo.c) endif() if(CMAKE_SYSTEM_NAME STREQUAL "Windows") -- cgit v1.3-5-g9baa