diff --git a/cmake/dependencies/common.cmake b/cmake/dependencies/common.cmake index 01065b387e0..bbefb180e07 100644 --- a/cmake/dependencies/common.cmake +++ b/cmake/dependencies/common.cmake @@ -13,7 +13,7 @@ add_subdirectory("${CMAKE_SOURCE_DIR}/third-party/moonlight-common-c/enet") add_subdirectory("${CMAKE_SOURCE_DIR}/third-party/Simple-Web-Server") # common dependencies -find_package(OpenSSL REQUIRED) +find_package(OpenSSL REQUIRED HINTS "/opt/homebrew/opt/openssl" "/usr/local/opt/openssl") # hints are for macOS find_package(PkgConfig REQUIRED) find_package(Threads REQUIRED) pkg_check_modules(CURL REQUIRED libcurl) diff --git a/docs/source/building/macos.rst b/docs/source/building/macos.rst index c2a0adbbd2e..bd207f23963 100644 --- a/docs/source/building/macos.rst +++ b/docs/source/building/macos.rst @@ -21,23 +21,6 @@ Install Requirements brew install cmake doxygen graphviz icu4c miniupnpc node openssl@3 opus pkg-config python@3.11 -If there are issues with an SSL header that is not found: - .. tab:: Intel - - .. code-block:: bash - - pushd /usr/local/include - ln -s ../opt/openssl/include/openssl . - popd - - .. tab:: Apple Silicon - - .. code-block:: bash - - pushd /opt/homebrew/include - ln -s ../opt/openssl/include/openssl . - popd - Build ----- .. attention:: Ensure you are in the build directory created during the clone step earlier before continuing.