diff --git a/README.md b/README.md index 4dbf69f..47caeac 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,12 @@ Use [Homebrew](https://brew.sh/): ```sh brew install sdl2 ``` +Note: +On mac os you need to include (uncomment in provided example platformio.ini file) these lines in your platformio.ini file to import the drivers: +```; SDL2 includes + !find /opt/homebrew/Cellar/sdl2 -name "include" | sed "s/^/-I /" + !find /opt/homebrew/Cellar/sdl2 -name "libSDL2.a" | xargs dirname | sed "s/^/-L /" +``` **Windows**