Skip to content

Commit

Permalink
SDL2 few more paths proposal. (yvt#939)
Browse files Browse the repository at this point in the history
Adds `/opt/homebrew` to the SDL2 search path when building without vcpkg.
  • Loading branch information
devnexen authored Jan 21, 2021
1 parent ae12df5 commit ff428b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/FindSDL2.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ FIND_PATH(SDL2_INCLUDE_DIR SDL_render.h
/usr/include/SDL2
/sw # Fink
/opt/local/include/SDL2 # DarwinPorts
/opt/homebrew/include/SDL2
/opt/csw # Blastwave
/opt
)
Expand All @@ -96,6 +97,7 @@ FIND_LIBRARY(SDL2_LIBRARY_TEMP
PATHS
/sw
/opt/local
/opt/homebrew
/opt/csw
/opt
)
Expand Down

0 comments on commit ff428b4

Please sign in to comment.