[cmake-developers] FindDevIL.cmake module looks for wrong header

Miłosz Kosobucki mikom3 at gmail.com
Tue Aug 2 16:41:36 EDT 2011


Hi,

FindDevIL.cmake module seems to be looking for il.h header instead of
IL/il.h. This way, user should be writing

#include <il.h>

instead of

#include <IL/il.h>

in his code. Note that the latter version is used with all examples in
DevIL library. Also libraries like OpenGL use the latter format.

I hope I included the patch properly. It was tested on Windows (MSVC
2010) and Linux.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-FindDevIL.cmake-module-is-now-looking-for-IL-il.h-in.patch
Type: text/x-patch
Size: 1914 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20110802/760029b5/attachment-0001.bin>


More information about the cmake-developers mailing list