diff --git a/CMakeLists.txt b/CMakeLists.txt index 8041254..b6b0210 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()