Browse Source

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

master
Martchus 5 months ago
parent
commit
643112931c
  1. 1
      cmake/modules/WindowsResources.cmake

1
cmake/modules/WindowsResources.cmake

@ -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>")

Loading…
Cancel
Save