Editing the portfile to pass -DDBUS_SESSION_SOCKET_DIR=/tmp to CMake fixes the issue.
Operating system
macOS (ARM64)
Steps to reproduce the behavior
./vcpkg install dbus:x64-osx-release
Failure logs
CMake Error at CMakeLists.txt:574 (message):
cannot autodetect session socket directory when crosscompiling, pass
-DDBUS_SESSION_SOCKET_DIR=...
-- Configuring incomplete, errors occurred!
Editing the portfile to pass
-DDBUS_SESSION_SOCKET_DIR=/tmpto CMake fixes the issue.Operating system
macOS (ARM64)
Steps to reproduce the behavior
Failure logs