am7xxx: implement the set_zoom_mode() operation for the PicoPix 2055
[libam7xxx.git] / cmake_modules / mingw_cross_toolchain.cmake
1 SET(CMAKE_SYSTEM_NAME Windows)
2 include(CMakeForceCompiler)
3 IF("${GNU_HOST}" STREQUAL "")
4     SET(GNU_HOST i586-mingw32msvc)
5 ENDIF()
6 # Prefix detection only works with compiler id "GNU"
7 CMAKE_FORCE_C_COMPILER(${GNU_HOST}-gcc GNU)
8 # CMake doesn't automatically look for prefixed 'windres', do it manually:
9 SET(CMAKE_RC_COMPILER ${GNU_HOST}-windres)
10
11 # The following is important to let cmake set some variables such as
12 # CMAKE_FIND_LIBRARY_PREFIXES and CMAKE_FIND_LIBRARY_SUFFIXES from
13 # Platform/Windows-GNU.cmake
14 SET(MINGW True)