diff --git a/cmake/winBuild64.cmake b/cmake/winBuild64.cmake
new file mode 100644
index 0000000000000000000000000000000000000000..f1d85db867909390c8b101876ba3f59d9d68c90d
--- /dev/null
+++ b/cmake/winBuild64.cmake
@@ -0,0 +1,10 @@
+# this one is important
+SET(CMAKE_SYSTEM_NAME Windows)
+
+# specify the cross compiler
+SET(CMAKE_C_COMPILER   x86_64-w64-mingw32-gcc)
+SET(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)
+SET(CMAKE_RC_COMPILER x86_64-w64-mingw32-windres)
+SET(CMAKE_ASM_YASM_COMPILER yasm)
+SET(CMAKE_FIND_ROOT_PATH /usr/x86_64-w64-mingw32/)
+set(LIB_FLAGS "-Wl,--output-def,libringclient.def")