From b15ab01a35ce3682e26aafb5fb1ac0fb98045241 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 13 Jun 2012 22:06:07 +0300 Subject: Add support for mingw64 for windows builds. --- build/toolchain.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build/toolchain.cmake') diff --git a/build/toolchain.cmake b/build/toolchain.cmake index 92415eb1e..1a40095cd 100644 --- a/build/toolchain.cmake +++ b/build/toolchain.cmake @@ -3,7 +3,7 @@ SET(CMAKE_SYSTEM_NAME Windows) # toolchain prefix, can be overridden by -DTOOLCHAIN=... # IF (NOT TOOLCHAIN) -SET(TOOLCHAIN "i586-mingw32msvc-") +SET(TOOLCHAIN "i686-w64-mingw32-") # ENDIF() # which compilers to use for C and C++ @@ -24,7 +24,7 @@ SET(SDL_INCLUDE_DIR ../mana_win/libs/include/SDL) SET(ENABLE_MANASERV OFF) # here is the target environment located -SET(CMAKE_FIND_ROOT_PATH /usr/i586-mingw32msvc /../mana_win/libs ) +SET(CMAKE_FIND_ROOT_PATH /usr/i686-w64-mingw32 /../mana_win/libs ) # adjust the default behaviour of the FIND_XXX() commands: # search headers and libraries in the target environment, search -- cgit v1.2.3-70-g09d2