1 set (CMAKE_SYSTEM_NAME Windows)
2 set (CMAKE_C_COMPILER i686-w64-mingw32-gcc)
3 set (CMAKE_CXX_COMPILER i686-w64-mingw32-g++)
4 set (CMAKE_RC_COMPILER i686-w64-mingw32-windres)
5 set (CMAKE_FIND_ROOT_PATH /usr/i686-w64-mingw32)
6 set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
7 set (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
8 set (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)