diff --git a/CMakeLists.txt b/CMakeLists.txt
index 66f7c0537a914821483e454a839fedda87935991..d9911350242d55167c0d324981e8f559ea02bb5b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -275,6 +275,8 @@ if(APPLE)
   ADD_DEFINITIONS(-DQT_NO_CAST_TO_ASCII)
   # include the icns file in the target
   SET(SRCS ${SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/Resources/jpseditor.icns)
+elseif(WIN32)
+  SET(SRCS ${SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/Resources/jpseditor.rc)
 endif()
 
 # this command will generate rules that will run rcc on all files from RCS