diff --git a/Building-for-macOS.md b/Building-for-macOS.md index e046a21..ac1ec82 100644 --- a/Building-for-macOS.md +++ b/Building-for-macOS.md @@ -12,9 +12,13 @@ The offline installer can be found here. https://www.qt.io/offline-installers When it comes to selecting components to install, select the Qt prebuilt components for MacOS. -* Before running CMake in the next step, make your you export your Qt5_DIR to the folder in your Qt installation with Qt5Config.cmake in it ( this is usually ///clang_64/lib/cmake/Qt5 ) by entering in terminal `export Qt5_DIR=` +Export your Qt5_DIR to the folder in your Qt installation with Qt5Config.cmake in it ( this is usually ///clang_64/lib/cmake/Qt5 ) by entering in terminal `export Qt5_DIR=` +Append the Qt5_DIR to your PATH with `export PATH=$PATH:$Qt5_DIR` +If you plan to rebuild Dolphin in the future you'll probably want to update Qt5_DIR and PATH in your .bash_profile as well. +* Using double quotes: `echo "export Qt5_DIR=$Qt5_DIR" >> ~/.bash_profile` +* Using single quotes: `echo 'export PATH=$PATH:$Qt5_DIR' >> ~/.bash_profile` ## Checkout and Compile Dolphin @@ -25,6 +29,9 @@ git clone https://github.com/dolphin-emu/dolphin ~/dolphin-emu cd ~/dolphin-emu ``` +If you're using MacOS Sierra 10.12 or later you'll need to comment out this line in Externals/liblzma/config.h: +`#define HAVE_PTHREAD_CONDATTR_SETCLOCK 1`. Note that defining it to 0 won't work. + To build with CMake (optionally verbose): Download and install [CMake](https://cmake.org/download/) if you don't have it. Then: