BUG: Pass definitions to rc with Makefiles
The build rule to run the resource compiler on Windows with a Makefiles generator should include the placeholder to add the definition flags. See issue #7769.
This commit is contained in:
parent
0d425cd501
commit
7876a5098b
@ -23,7 +23,7 @@ SET(CMAKE_INCLUDE_FLAG_RC "-I")
|
||||
# compile a Resource file into an object file
|
||||
IF(NOT CMAKE_RC_COMPILE_OBJECT)
|
||||
SET(CMAKE_RC_COMPILE_OBJECT
|
||||
"<CMAKE_RC_COMPILER> <FLAGS> /fo<OBJECT> <SOURCE>")
|
||||
"<CMAKE_RC_COMPILER> <FLAGS> <DEFINES> /fo<OBJECT> <SOURCE>")
|
||||
ENDIF(NOT CMAKE_RC_COMPILE_OBJECT)
|
||||
|
||||
MARK_AS_ADVANCED(
|
||||
|
Loading…
x
Reference in New Issue
Block a user