diff --git a/CMakeLists.txt b/CMakeLists.txt
index 424d60d379ff7759421f894d0eef4aa06f3f6588..927b34b194bf0105d6d493149bcd8a1e8d05313a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1088,7 +1088,7 @@ target_link_libraries(gmsh ${LINK_LIBRARIES})
 if(WIN32 AND NOT MSVC OR CYGWIN)
   if(HAVE_64BIT_SIZE_T)
     set_target_properties(gmsh PROPERTIES LINK_FLAGS 
-      "-Wl,--stack,16777216 -mwindows -static")
+      "-Wl,--stack,16777216 ${CMAKE_CURRENT_SOURCE_DIR}/Fltk/Win64Icon.res -mwindows -static")
   else(HAVE_64BIT_SIZE_T)
     set_target_properties(gmsh PROPERTIES LINK_FLAGS 
       "-Wl,--stack,16777216 ${CMAKE_CURRENT_SOURCE_DIR}/Fltk/Win32Icon.res -mwindows -static")
diff --git a/Fltk/Win64Icon.res b/Fltk/Win64Icon.res
new file mode 100644
index 0000000000000000000000000000000000000000..30081eb2fb69cd1e602cde979654942190751017
Binary files /dev/null and b/Fltk/Win64Icon.res differ