1 --- cmake/Toolchain-mingw.cmake 2009-12-15 07:49:22.000000000 +0100
2 +++ cmake/Toolchain-mingw.cmake 2010-01-08 22:29:57.000000000 +0100
5 # Which compilers to use for C and C++, and location of target
7 -if(EXISTS /usr/i586-mingw32msvc)
8 - # First look in standard location as used by Debian/Ubuntu/etc.
9 - set(CMAKE_C_COMPILER i586-mingw32msvc-gcc)
10 - set(CMAKE_CXX_COMPILER i586-mingw32msvc-g++)
11 - set(CMAKE_RC_COMPILER i586-mingw32-windres)
12 - set(CMAKE_FIND_ROOT_PATH /usr/i586-mingw32msvc)
14 - # Else fill in local path which the user will likely adjust.
15 - set(CMAKE_C_COMPILER /usr/local/cross-tools/bin/i386-mingw32-gcc)
16 - set(CMAKE_CXX_COMPILER /usr/local/cross-tools/bin/i386-mingw32-g++)
17 - set(CMAKE_RC_COMPILER /usr/local/cross-tools/bin/i386-mingw32-windres)
18 - set(CMAKE_FIND_ROOT_PATH /usr/local/cross-tools)
20 +set(CMAKE_C_COMPILER i486-mingw32-gcc)
21 +set(CMAKE_CXX_COMPILER i486-mingw32-g++)
22 +set(CMAKE_RC_COMPILER i486-mingw32-windres)
23 +set(CMAKE_FIND_ROOT_PATH /usr/i486-mingw32)
25 # Adjust the default behaviour of the FIND_XXX() commands:
26 # search headers and libraries in the target environment, search