SDL2 few more paths proposal. (#939)

Adds `/opt/homebrew` to the SDL2 search path when building without vcpkg.
This commit is contained in:
David CARLIER 2021-01-21 06:01:29 +00:00 committed by GitHub
parent ae12df59cc
commit ff428b4a6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
)
@ -96,6 +97,7 @@ FIND_LIBRARY(SDL2_LIBRARY_TEMP
PATHS
/sw
/opt/local
/opt/homebrew
/opt/csw
/opt
)