Skip to content

Commit

Permalink
Make sure to add SDL's library directory before building SDL things.
Browse files Browse the repository at this point in the history
  • Loading branch information
bentley authored and olofson committed Aug 3, 2017
1 parent de149a4 commit 2c1cd20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ endif(DEMO_BUILD)

pkg_search_module(SDL2 REQUIRED sdl2)
include_directories(${SDL2_INCLUDE_DIRS})
link_directories(${SDL2_LIBDIR})

pkg_search_module(SDL2IMAGE REQUIRED SDL2_image>=2.0.0)
include_directories(${SDL2IMAGE_INCLUDE_DIRS})
Expand Down

0 comments on commit 2c1cd20

Please sign in to comment.