From ab677bad41bedf74296c9cc02224c64aea03af07 Mon Sep 17 00:00:00 2001 From: Vojtech Kral Date: Mon, 22 Jul 2019 16:00:52 +0200 Subject: [PATCH] Mac OS: Fix gettext lookup in deps build --- deps/deps-macos.cmake | 2 +- doc/How to build - Mac OS.md | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/deps/deps-macos.cmake b/deps/deps-macos.cmake index c7c6819e3..d22e4a2e2 100644 --- a/deps/deps-macos.cmake +++ b/deps/deps-macos.cmake @@ -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 ) diff --git a/doc/How to build - Mac OS.md b/doc/How to build - Mac OS.md index b4196909d..082c560b7 100644 --- a/doc/How to build - Mac OS.md +++ b/doc/How to build - Mac OS.md @@ -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