Add icon to windows executable

This commit is contained in:
Skye Deving 2021-01-27 23:56:42 -06:00
parent 5ac4a9ed97
commit c7c5f5bf2d

View File

@ -22,6 +22,8 @@ add_executable(Attorney_Online resources.qrc)
if(WIN32)
if(CMAKE_BUILD_TYPE STREQUAL "Release")
set_property(TARGET Attorney_Online PROPERTY WIN32_EXECUTABLE true)
set(APP_ICON_RESOURCE_WINDOWS "${CMAKE_CURRENT_SOURCE_DIR}/resource/logo_ao2.rc")
target_sources(Attorney_Online PRIVATE ${APP_ICON_RESOURCE_WINDOWS})
endif()
endif()