diff options
author | Brad King <brad.king@kitware.com> | 2008-10-09 17:52:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-10-09 17:52:30 (GMT) |
commit | 7876a5098be3b706a4a6033a1ded467a29a042cd (patch) | |
tree | 08301cf2e1dec24ad1ae950e9327c577c04cedb1 /Modules/CMakeRCInformation.cmake | |
parent | 0d425cd5018fbc034fe99099e5c2f4cf8901e430 (diff) | |
download | CMake-7876a5098be3b706a4a6033a1ded467a29a042cd.zip CMake-7876a5098be3b706a4a6033a1ded467a29a042cd.tar.gz CMake-7876a5098be3b706a4a6033a1ded467a29a042cd.tar.bz2 |
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.
Diffstat (limited to 'Modules/CMakeRCInformation.cmake')
-rw-r--r-- | Modules/CMakeRCInformation.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeRCInformation.cmake b/Modules/CMakeRCInformation.cmake index dcef7ee..382edbb 100644 --- a/Modules/CMakeRCInformation.cmake +++ b/Modules/CMakeRCInformation.cmake @@ -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( |