Include SDLImage conditionally

This commit is contained in:
Dmitry Marakasov 2014-12-28 06:09:59 +03:00
parent 0c0a7aad15
commit 835ce5d7c0

View File

@ -95,12 +95,14 @@
#include <SDL2pp/ContainerRWops.hh>
#include <SDL2pp/StreamRWops.hh>
////////////////////////////////////////////////////////////
/// \defgroup image SDL_image
///
/// \brief Functions that are specific to SDL_image library
///
////////////////////////////////////////////////////////////
#include <SDL2pp/SDLImage.hh>
#ifdef SDL2PP_WITH_IMAGE
////////////////////////////////////////////////////////////
/// \defgroup image SDL_image
///
/// \brief Functions that are specific to SDL_image library
///
////////////////////////////////////////////////////////////
# include <SDL2pp/SDLImage.hh>
#endif
#endif