Skip to content

Commit

Permalink
compile error fix: SDL2's pc file is sdl2.pc; SDL2_ttf on Linux insta…
Browse files Browse the repository at this point in the history
…ll a pkg-config file
  • Loading branch information
longlene committed Feb 13, 2015
1 parent 18039a3 commit 3c71233
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/GosuConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ mark_as_advanced(SDL_LIBRARY)
find_package(OpenGL REQUIRED)

find_package(PkgConfig REQUIRED)
pkg_check_modules(SDL2 REQUIRED SDL2)
pkg_check_modules(SDL2 REQUIRED sdl2)
pkg_check_modules(VORBIS REQUIRED vorbisfile)

if(NOT WIN32 AND NOT APPLE)
find_package(Freetype REQUIRED)
find_package(SDL2_ttf REQUIRED)
pkg_check_modules(SDL2_ttf REQUIRED)
find_package(X11 REQUIRED)
pkg_check_modules(PANGO REQUIRED pango)
pkg_check_modules(PANGOFT REQUIRED pangoft2)
Expand Down

0 comments on commit 3c71233

Please sign in to comment.