[CMake] CMake can't find package on Windows
Tyler Roscoe
tyler at cryptio.net
Sat May 9 23:06:47 EDT 2009
On Fri, May 08, 2009 at 05:34:19PM -0700, Tron Thomas wrote:
> I looked at the FindDevIL.cmake file, and if I understand it correctly
> it might be wrong for Windows. On Linux, the main library is called
> libIL.so. On Windows, however, the corresponding import library is
> called DevIL.lib. The FindDevIL.cmake file seems to only consider IL
> and not DEVIL as the valid name for the library. I added DEVIL to the
> NAMES entry for the IL_LIBRARY's FIND_LIBRARY command and CMake
> successfully configured the project. I'm wondering if I should enter a
> bug against this module.
I don't know anything about that find module, but filing a bug sounds
appropriate to me. Even better is if you can write a patch that fixes
the problem.
tyler
More information about the CMake
mailing list