windows: Use predefined RC_INVOKED macro instead of custom one

This commit is contained in:
Hennadii Stepanov
2025-05-28 20:11:04 +01:00
parent 14c16e8159
commit 55f1c2ac8b
2 changed files with 3 additions and 11 deletions

View File

@ -7,9 +7,6 @@ include_guard(GLOBAL)
function(add_windows_resources target rc_file)
if(WIN32)
target_sources(${target} PRIVATE ${rc_file})
set_property(SOURCE ${rc_file}
APPEND PROPERTY COMPILE_DEFINITIONS WINDRES_PREPROC
)
endif()
endfunction()