Skip to content

Commit

Permalink
Update FindSDL2 for new header paths in SDL2pp
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Jun 27, 2017
1 parent 0770157 commit 8cd29d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/FindSDL2.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ SET(SDL2_SEARCH_PATHS
${SDL2_PATH}
)

FIND_PATH(SDL2_INCLUDE_DIR SDL.h
FIND_PATH(SDL2_INCLUDE_DIR SDL2/SDL.h
HINTS
$ENV{SDL2DIR}
PATH_SUFFIXES include/SDL2 include
PATH_SUFFIXES include
PATHS ${SDL2_SEARCH_PATHS}
)

Expand Down

0 comments on commit 8cd29d9

Please sign in to comment.