File tree Expand file tree Collapse file tree 2 files changed +20
-18
lines changed Expand file tree Collapse file tree 2 files changed +20
-18
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,8 @@ file (GLOB PPIC_TS_FILES app/translations/*.ts)
94
94
set (PPIC_CPP_FILES_FOR_I18N ${PPIC_CPP_FILES} )
95
95
96
96
if (WIN32 )
97
- list (APPEND PPIC_RC_FILES assets/pineapple-pictures.rc )
97
+ configure_file (assets/pineapple-pictures.rc.in pineapple-pictures.rc @ONLY )
98
+ list (APPEND PPIC_RC_FILES ${CMAKE_CURRENT_BINARY_DIR} /pineapple-pictures.rc )
98
99
endif ()
99
100
100
101
add_executable (${EXE_NAME}
Original file line number Diff line number Diff line change 1
- IDI_ICON1 ICON DISCARDABLE "icons/app-icon.ico"
2
- 1 VERSIONINFO
3
- BEGIN
4
- BLOCK "StringFileInfo"
5
- BEGIN
6
- BLOCK "040904E4"
7
- BEGIN
8
- VALUE "FileDescription", "Pineapple Pictures - Image Viewer"
9
- VALUE "LegalCopyright", "MIT/Expat License - Copyright (C) 2024 Gary Wang"
10
- VALUE "ProductName", "Pineapple Pictures"
11
- END
12
- END
13
- BLOCK "VarFileInfo"
14
- BEGIN
15
- VALUE "Translation", 0x409, 1200
16
- END
17
- END
1
+ IDI_ICON1 ICON DISCARDABLE "@CMAKE_CURRENT_SOURCE_DIR@/assets/icons/app-icon.ico"
2
+ 1 VERSIONINFO
3
+ BEGIN
4
+ BLOCK "StringFileInfo"
5
+ BEGIN
6
+ BLOCK "040904E4"
7
+ BEGIN
8
+ VALUE "FileDescription", "Pineapple Pictures - Image Viewer"
9
+ VALUE "LegalCopyright", "MIT/Expat License - Copyright (C) 2024 Gary Wang"
10
+ VALUE "ProductName", "Pineapple Pictures"
11
+ VALUE "ProductVersion", "@PROJECT_VERSION@"
12
+ END
13
+ END
14
+ BLOCK "VarFileInfo"
15
+ BEGIN
16
+ VALUE "Translation", 0x409, 1200
17
+ END
18
+ END
You can’t perform that action at this time.
0 commit comments