Skip to content
Snippets Groups Projects
Commit e4b68b9d authored by Tao Zhong's avatar Tao Zhong
Browse files

Add icon resource for windows

parent bc12eec9
No related tags found
No related merge requests found
Pipeline #20876 passed
...@@ -275,6 +275,8 @@ if(APPLE) ...@@ -275,6 +275,8 @@ if(APPLE)
ADD_DEFINITIONS(-DQT_NO_CAST_TO_ASCII) ADD_DEFINITIONS(-DQT_NO_CAST_TO_ASCII)
# include the icns file in the target # include the icns file in the target
SET(SRCS ${SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/Resources/jpseditor.icns) SET(SRCS ${SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/Resources/jpseditor.icns)
elseif(WIN32)
SET(SRCS ${SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/Resources/jpseditor.rc)
endif() endif()
# this command will generate rules that will run rcc on all files from RCS # this command will generate rules that will run rcc on all files from RCS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment