Skip to content

Commit

Permalink
BUILD: Add brew path for SDL2
Browse files Browse the repository at this point in the history
  • Loading branch information
Nostritius authored and DrMcCoy committed Jun 6, 2018
1 parent 6a97c77 commit f718f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindSDL2.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if(WIN32)
find_library(SDL2_LIBRARY NAMES SDL2 PATHS $ENV{PROGRAMFILES}/SDL2/lib DOC "The SDL2 library")

else(WIN32)
find_path(SDL2_INCLUDE_DIR SDL.h HINTS /usr/include/SDL2 /opt/local/include/SDL2 DOC "The directory where SDL.h resides")
find_path(SDL2_INCLUDE_DIR SDL.h HINTS /usr/include/SDL2 /usr/local/include/SDL2 /opt/local/include/SDL2 DOC "The directory where SDL.h resides")
find_library(SDL2_LIBRARY NAMES SDL2 DOC "The SDL2 library")

endif(WIN32)
Expand Down

0 comments on commit f718f5e

Please sign in to comment.