Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
Remove note about homebrew not having the latest SFML as this has been addressed
Add flags to `cmake` command inside build directory to fix missing `SFML/Graphics.hpp`

HackerPoet#9 (comment)
  • Loading branch information
TrevorSayre authored Apr 21, 2019
1 parent e580460 commit 7860931
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ There is currently no further major development planned for this game. Please su
### MacOS
On macOS these can be conveniently installed using [Homebrew](https://brew.sh):

`brew install eigen sfml`

(Note that SFML might require a newer version than the one from Homebrew, in which case a manual installation is required)
`brew install cmake eigen sfml`

Alternatively, [vcpkg](https://github.com/Microsoft/vcpkg) can be used:

Expand All @@ -35,7 +33,7 @@ Alternatively, [vcpkg](https://github.com/Microsoft/vcpkg) can be used:
## Building
### MacOS
* `mkdir build && cd build`
* `cmake ..`
* `cmake -DCMAKE_CXX_FLAGS="-I/usr/local/include" ..`
* If you use `vcpkg`, add the flag `-DCMAKE_TOOLCHAIN_FILE=[path/to/vcpkg]/scripts/buildsystems/vcpkg.cmake`
* `cd ..`
* `cmake --build build`
Expand Down

0 comments on commit 7860931

Please sign in to comment.