File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,10 +106,11 @@ elseif(UNIX OR MINGW OR CYGWIN)
106106 pkg_check_modules (PKG_SDLGFX REQUIRED SDL_gfx )
107107 pkg_check_modules (PKG_SDLMIXER REQUIRED SDL_mixer )
108108 pkg_check_modules (PKG_YAMLCPP REQUIRED yaml-cpp )
109+ pkg_check_modules (PKG_WEBP REQUIRED libwebp )
109110
110111 include_directories (${PKG_SDL_INCLUDE_DIRS} ${PKG_ZLIB_INCLUDE_DIRS} ${PKG_SDLIMAGE_INCLUDE_DIRS} )
111112 include_directories (${PKG_SDLGFX_INCLUDE_DIRS} ${PKG_SDLMIXER_INCLUDE_DIRS} ${PKG_YAMLCPP_INCLUDE_DIRS} )
112- set (PKG_DEPS_LDFLAGS ${PKG_SDL_LDFLAGS} ${PKG_ZLIB_LDFLAGS} ${PKG_SDLIMAGE_LDFLAGS} ${PKG_SDLGFX_LDFLAGS} ${PKG_SDLMIXER_LDFLAGS} ${PKG_YAMLCPP_LDFLAGS} ${OPENGL_LIBRARIES} )
113+ set (PKG_DEPS_LDFLAGS ${PKG_SDL_LDFLAGS} ${PKG_ZLIB_LDFLAGS} ${PKG_SDLIMAGE_LDFLAGS} ${PKG_SDLGFX_LDFLAGS} ${PKG_SDLMIXER_LDFLAGS} ${PKG_YAMLCPP_LDFLAGS} ${PKG_WEBP_LDFLAGS} ${ OPENGL_LIBRARIES} )
113114
114115 if (UNIX )
115116 set (PKG_DEPS_LDFLAGS "${PKG_DEPS_LDFLAGS} ;dl" )
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ The dependencies you require are following:
1313
1414We recommend using [ Homebrew] ( https://brew.sh ) to facilitate this. With a working brew utility installed, run the following:
1515```
16- $ brew install cmake yaml-cpp --with-static-lib sdl sdl_gfx sdl_image sdl_mixer --with-flac --with-libmikmod --with-libvorbis --with-static-lib
16+ $ brew install cmake yaml-cpp sdl12-compact sdl_gfx sdl_image sdl_mixer webp
1717```
1818This should install all of these necessary dependencies to their appropriate place under /usr/local.
1919
You can’t perform that action at this time.
0 commit comments