set(CMAKE_SYSTEM_NAME Windows) set(CMAKE_SYSTEM_PROCESSOR i686) include(${CMAKE_CURRENT_LIST_DIR}/Cross-MinGW.cmake)