windows: Use predefined RC_INVOKED macro instead of custom one

This commit is contained in:
Hennadii Stepanov committed 2025-05-29 11:18:36 +01:00
1 parent 14c16e8159
commit 55f1c2ac8b
2 files changed
+3 -11

No files matched your search

-3
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()