- forgot to remove autogen.sh previously along with the rest of the autotools
[freeglut] / mingw_cross_toolchain.cmake
1 # CMake toolchain file, cf. README.mingw_cross
2 SET(CMAKE_SYSTEM_NAME Windows)
3 include(CMakeForceCompiler)
4 IF("${GNU_HOST}" STREQUAL "")
5         SET(GNU_HOST i586-mingw32msvc)
6 ENDIF()
7 # Prefix detection only works with compiler id "GNU"
8 CMAKE_FORCE_C_COMPILER(${GNU_HOST}-gcc GNU)
9 SET(CMAKE_RC_COMPILER ${GNU_HOST}-windres)