Fix wrong usage of `APPEND` when marking Windows resource file as generated

This commit is contained in:
Martchus 2021-08-25 00:56:04 +02:00
parent 9b293ab5d5
commit 643112931c
1 changed files with 0 additions and 1 deletions

View File

@ -53,7 +53,6 @@ file(
list(APPEND RES_FILES "${WINDOWS_RC_FILE}-${CMAKE_BUILD_TYPE}.rc")
set_property(
SOURCE "${WINDOWS_RC_FILE}-${CMAKE_BUILD_TYPE}.rc"
APPEND
PROPERTY GENERATED ON)
set(CMAKE_RC_COMPILER_INIT windres)
set(CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> <FLAGS> -O coff <DEFINES> -i <SOURCE> -o <OBJECT>")