Jan - 2013-12-30

Hey Guys,
I'm having a lot of problems including DevIL to my 2d OpenGL project. CMake tells me it has found DevIL and IL_FOUND is set to true, however, when including <IL devil_cpp_wrapper.hpp=""> or trying to call ilInit(); it throws lots of "undefined reference" errors at me.
I'm running my project on Ubuntu 12.04 in Qt-creator and I have installed DevIL through the following command:
sudo apt-get install libdevil-dev
The whole project can be found and downloaded here:
https://github.com/CombustibleLemonade/AI
I haven't found any CMake projects using DevIL, so I have very little information to refer to. What am I doing wrong? Are there any open-source CMake projects/examples using DevIL?
Best Regards,
Jan Heemstra