To reproduce, on macos run:
mkdir -p build && cd build && cmake -GNinja ..
This should produce the following error:
CMake Error at /usr/local/Cellar/cmake/3.11.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_INCLUDE_DIR) Call Stack (most recent call first): /usr/local/Cellar/cmake/3.11.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) /usr/local/Cellar/cmake/3.11.0/share/cmake/Modules/FindOpenSSL.cmake:390 (find_package_handle_standard_args) src/config/CMakeLists.txt:113 (find_package)