From e4b68b9d67e40aa556a19e10783595cad1acbfd2 Mon Sep 17 00:00:00 2001 From: Tao Zhong <taozhongimd@gmail.com> Date: Thu, 23 May 2019 13:05:26 +0200 Subject: [PATCH] Add icon resource for windows --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 66f7c05..d991135 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 -- GitLab