Make travis work again
[oweals/minetest.git] / util / travis / toolchain_mingw.cmake.in
1 # Target operating system name
2 set(CMAKE_SYSTEM_NAME Windows)
3
4 # Compilers to use
5 set(CMAKE_C_COMPILER %PREFIX%-gcc)
6 set(CMAKE_CXX_COMPILER %PREFIX%-g++)
7 set(CMAKE_RC_COMPILER %PREFIX%-windres)
8
9 # Location of the target environment
10 set(CMAKE_FIND_ROOT_PATH %ROOTPATH%)
11
12 # Adjust the default behaviour of the FIND_XXX() commands:
13 # search for headers and libraries in the target environment,
14 # search for programs in the host environment
15 set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
16 set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
17 set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
18