THRIFT-3155 move contrib/mingw32-toolchain.cmake to build/cmake/
diff --git a/.travis.yml b/.travis.yml
index fbd3bad..e897304 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -77,7 +77,7 @@
     - TEST_NAME="C++/std-threads (CMake + CPack)"
       CMAKE_CONFIG="-DCMAKE_CXX_FLAGS=-std=c++0x -DWITH_C_GLIB=OFF -DWITH_JAVA=OFF -DWITH_STDTHREADS=ON"
     - TEST_NAME="compiler (mingw32-gcc, CMake + CPack)"
-      CMAKE_CONFIG="-DCMAKE_TOOLCHAIN_FILE=../contrib/mingw32-toolchain.cmake -DBUILD_COMPILER=ON -DBUILD_LIBRARIES=OFF -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF"
+      CMAKE_CONFIG="-DCMAKE_TOOLCHAIN_FILE=../build/cmake/mingw32-toolchain.cmake -DBUILD_COMPILER=ON -DBUILD_LIBRARIES=OFF -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF"
 
     # Autotool builds
     # TODO: Remove them as migration is made
@@ -109,7 +109,7 @@
 
     # Does not use native compiler, no need to do it twice
     - compiler: gcc
-      env: TEST_NAME="compiler (mingw32-gcc, CMake + CPack)" CMAKE_CONFIG="-DCMAKE_TOOLCHAIN_FILE=../contrib/mingw32-toolchain.cmake -DBUILD_COMPILER=ON -DBUILD_LIBRARIES=OFF -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF"
+      env: TEST_NAME="compiler (mingw32-gcc, CMake + CPack)" CMAKE_CONFIG="-DCMAKE_TOOLCHAIN_FILE=../build/cmake/mingw32-toolchain.cmake -DBUILD_COMPILER=ON -DBUILD_LIBRARIES=OFF -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF"
     - compiler: gcc
       env: TEST_NAME="dist (automake)" CONFIG="" ALL_DEPS="yes" MAKE_TARGET="dist"
 
diff --git a/build/cmake/README.md b/build/cmake/README.md
index 311ef15..ebc4f7d 100644
--- a/build/cmake/README.md
+++ b/build/cmake/README.md
@@ -20,7 +20,7 @@
 
 if you use a specific toolchain pass it to cmake, the same for options:
 
-    cmake -DCMAKE_TOOLCHAIN_FILE=${THRIFT_SRC}/contrib/mingw32-toolchain.cmake ..
+    cmake -DCMAKE_TOOLCHAIN_FILE=../build/cmake/mingw32-toolchain.cmake ..
     cmake -DCMAKE_C_COMPILER=clang-3.5 -DCMAKE_CXX_COMPILER=clang++-3.5 ..
     cmake -DTHRIFT_COMPILER_HS=OFF ..
     cmake -DWITH_ZLIB=ON ..
diff --git a/contrib/mingw32-toolchain.cmake b/build/cmake/mingw32-toolchain.cmake
similarity index 100%
rename from contrib/mingw32-toolchain.cmake
rename to build/cmake/mingw32-toolchain.cmake
diff --git a/compiler/cpp/README.md b/compiler/cpp/README.md
index b4a159f..2c0a67c 100644
--- a/compiler/cpp/README.md
+++ b/compiler/cpp/README.md
@@ -20,7 +20,7 @@
 ### Cross compile using mingw32 and generate a Windows Installer with CPack
 
     mkdir build_mingw32 && cd build_mingw32
-    cmake -DCMAKE_TOOLCHAIN_FILE=../../../contrib/mingw32-toolchain.cmake ..
+    cmake -DCMAKE_TOOLCHAIN_FILE=../build/cmake/mingw32-toolchain.cmake ..
     cpack
 
 ## Build on windows