mingw_cross_toolchain.cmake: set the MINGW variable to True
authorAntonio Ospite <ospite@studenti.unina.it>
Tue, 22 May 2012 13:29:55 +0000 (15:29 +0200)
committerAntonio Ospite <ospite@studenti.unina.it>
Tue, 22 May 2012 13:29:55 +0000 (15:29 +0200)
commit83413d14e30727d4279674d5bb811f436c9600f2
tree39992ec5402495f3189a87c4ba54cf453493c377
parent944aa0cf862aa4cf6573c5259a19be6144c27514
mingw_cross_toolchain.cmake: set the MINGW variable to True

Setting MINGW to True is important to let cmake set some variables such
as CMAKE_FIND_LIBRARY_PREFIXES and CMAKE_FIND_LIBRARY_SUFFIXES from
Platform/Windows-GNU.cmake

I wasted a lot of time on this with find_library() not finding libav
libraries compiled for MingW whith the ".dll.a" suffix.
cmake_modules/mingw_cross_toolchain.cmake