Mac OS: Fix gettext lookup in deps build

This commit is contained in:
Vojtech Kral 2019-07-22 16:00:52 +02:00
parent 77c3d2fbb3
commit ab677bad41
2 changed files with 10 additions and 2 deletions

View File

@ -111,6 +111,6 @@ ExternalProject_Add(dep_wxwidgets
--with-expat=builtin
--disable-debug
--disable-debug_flag
BUILD_COMMAND make "-j${NPROC}" && make -C locale allmo
BUILD_COMMAND make "-j${NPROC}" && PATH=/usr/local/opt/gettext/bin/:$ENV{PATH} make -C locale allmo
INSTALL_COMMAND make install
)

View File

@ -1,7 +1,15 @@
# Building PrusaSlicer on Mac OS
To build PrusaSlicer on Mac OS, you will need to install XCode, [CMake](https://cmake.org/) (available on Brew) and possibly git.
To build PrusaSlicer on Mac OS, you will need the following software:
- XCode
- CMake
- git
- gettext
XCode is available through Apple's App Store, the other three tools are available on
[brew](https://brew.sh/) (use `brew install cmake git gettext` to install them).
### Dependencies