Add Windows icon

This commit is contained in:
Alexander Batalov 2022-09-22 10:13:28 +03:00
parent c20e40652d
commit b89c06008b
3 changed files with 8 additions and 0 deletions

View File

@ -276,6 +276,13 @@ if(WIN32)
) )
endif() endif()
if (WIN32)
target_sources(${EXECUTABLE_NAME} PUBLIC
"os/windows/fallout2-ce.ico"
"os/windows/fallout2-ce.rc"
)
endif()
if(APPLE) if(APPLE)
target_sources(${EXECUTABLE_NAME} PUBLIC "os/macos/fallout2-ce.icns") target_sources(${EXECUTABLE_NAME} PUBLIC "os/macos/fallout2-ce.icns")
set_source_files_properties("os/macos/fallout2-ce.icns" PROPERTIES MACOSX_PACKAGE_LOCATION "Resources") set_source_files_properties("os/macos/fallout2-ce.icns" PROPERTIES MACOSX_PACKAGE_LOCATION "Resources")

BIN
os/windows/fallout2-ce.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

View File

@ -0,0 +1 @@
IDI_ICON1 ICON DISCARDABLE "fallout2-ce.ico"