On Tue, Sep 17, 2013 at 8:07 AM, Christer Solskogen
<christer.solskogen@xxxxxxxxx> wrote:
On Mon, Sep 16, 2013 at 11:31 PM, Nicolas Pomarède
<npomarede@xxxxxxxxxxxx> wrote:
You changed :
set ( ENV{SDLDIR} ${CMAKE_FIND_ROOT_PATH}/include/SDL )
to
set (SDL_INCLUDE_DIR ${CMAKE_FIND_ROOT_PATH}/include/SDL)
Do you mean ENV_{SDLDIR] didn't work for you ?
Yes. Or, it don't work good enough for cmake. SDL_INCLUDE_DIR is
needed for finding SDL.h, but since the compiler is sysroot-aware it
finds the library just fine.
What do say? Ok for commit? :)