Improve the method to find SDL2.

This commit is contained in:
edorax 2017-02-11 23:48:11 +08:00
parent fee89f1967
commit 0791236a8f
1 changed files with 2 additions and 1 deletions

View File

@ -89,7 +89,8 @@ SET(SDL2_SEARCH_PATHS
/opt/local # MacPorts
/opt/csw # OpenCSW (Solaris)
/opt
${SDL2_PATH}
${SDL2_PATH}/include
${SDL2_PATH}/lib
)
FIND_PATH(SDL2_INCLUDE_DIR SDL.h