mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2024-11-28 10:25:33 -05:00
Enabled icon in Windows build.
This commit is contained in:
parent
8d2745fc33
commit
f1c6c48b36
2 changed files with 7 additions and 0 deletions
|
@ -167,6 +167,12 @@ set(SOURCE_FILES
|
|||
SpaceCadetPinball/imstb_truetype.h
|
||||
)
|
||||
|
||||
# On Windows, include resource file with the icon
|
||||
if(WIN32)
|
||||
set_source_files_properties(SpaceCadetPinball/SpaceCadetPinball.rc LANGUAGE RC)
|
||||
list(APPEND SOURCE_FILES SpaceCadetPinball/SpaceCadetPinball.rc)
|
||||
endif(WIN32)
|
||||
|
||||
add_executable(SpaceCadetPinball ${SOURCE_FILES})
|
||||
|
||||
# Skip pch on foreign code
|
||||
|
|
1
SpaceCadetPinball/SpaceCadetPinball.rc
Normal file
1
SpaceCadetPinball/SpaceCadetPinball.rc
Normal file
|
@ -0,0 +1 @@
|
|||
ICON_1 ICON "icon_1.ico"
|
Loading…
Reference in a new issue