mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-01-19 07:51:54 +00:00
README: Recommend vcpkg for Windows, Update Mac instructions
https://github.com/microsoft/vcpkg/issues/18098 has been resolved Apparently Homebrew (package manager for macOS) has changed their install directories, mention that (thanks to @rullinoiz for pointing that out in #433)
This commit is contained in:
parent
8e0d28374d
commit
5becb2d14d
1 changed files with 7 additions and 2 deletions
|
@ -79,11 +79,12 @@ For UNIX-like systems, these libraries need to be installed (including the
|
|||
developer files). It is recommended to use the software management tools of
|
||||
your OS (apt, dnf, portage, BSD ports, [Homebrew for macOS](http://brew.sh), ...).
|
||||
|
||||
For Windows, there are two options:
|
||||
For Windows, there are three options:
|
||||
|
||||
- Use the provided binaries (recommended, see below)
|
||||
- Compile these libraries yourself
|
||||
- Do **not** use *vcpkg*, they patch headers [in a way that breaks your build](https://github.com/microsoft/vcpkg/issues/18098) !
|
||||
- Use [vcpkg](https://vcpkg.io/) to install the dependencies
|
||||
- Remember to set `CMAKE_TOOLCHAIN_FILE` as described in their [Getting Started Guide](https://vcpkg.io/en/getting-started.html)
|
||||
|
||||
Create a distinct build folder outside of this source repository and issue
|
||||
the cmake command there, pointing it at the neo/ folder from this repository:
|
||||
|
@ -94,6 +95,10 @@ macOS users need to point CMake at OpenAL Soft (better solutions welcome):
|
|||
|
||||
`cmake -DOPENAL_LIBRARY=/usr/local/opt/openal-soft/lib/libopenal.dylib -DOPENAL_INCLUDE_DIR=/usr/local/opt/openal-soft/include /path/to/repository/neo`
|
||||
|
||||
Newer versions of Homebrew install openal-soft to another directory, so use this instead:
|
||||
|
||||
`cmake -DOPENAL_LIBRARY="/opt/homebrew/opt/openal-soft/lib/libopenal.dylib" -DOPENAL_INCLUDE_DIR="/opt/homebrew/opt/openal-soft/include" /path/to/repo/neo`
|
||||
|
||||
## Using the provided Windows binaries
|
||||
|
||||
Get a clone of the latest binaries here: https://github.com/dhewm/dhewm3-libs
|
||||
|
|
Loading…
Reference in a new issue