Skip to main content
Starting with macOS El Capitan, Apple removed the system OpenSSL headers. You must install OpenSSL separately — Homebrew is the recommended approach.
More documentation may be found at the FreeRDP Compilation wiki.

Prerequisites

Install Homebrew, then install the required dependencies:

OpenSSL PKG_CONFIG_PATH

Because Homebrew installs OpenSSL in a non-default location, you must set PKG_CONFIG_PATH before running CMake:
Add this line to your shell profile (~/.zshrc or ~/.bash_profile) to make it permanent.

Build

1

Clone the repository

2

Set PKG_CONFIG_PATH for OpenSSL

3

Configure with CMake

4

Compile and install

CI preload configuration

The repository ships a macOS preload file at ci/cmake-preloads/config-macosx.txt. The key settings it applies are:
Apply it with:

Notable macOS flags

Use ccmake /tmp/freerdp/build to browse and modify all CMake cache variables interactively.