diff options
author | Brad King <brad.king@kitware.com> | 2015-07-13 14:27:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-07-13 14:49:46 (GMT) |
commit | 6f94b03c976088d177891ff69a9fad88de42e420 (patch) | |
tree | 8e3ee7f6b68e1349ca7e8f01905c8e9d988ce31c /Modules/CMakeRCInformation.cmake | |
parent | 179aa0bb0a8654efe6e3e606afdf104dbfeb3881 (diff) | |
download | CMake-6f94b03c976088d177891ff69a9fad88de42e420.zip CMake-6f94b03c976088d177891ff69a9fad88de42e420.tar.gz CMake-6f94b03c976088d177891ff69a9fad88de42e420.tar.bz2 |
Place <DEFINES> before <FLAGS> consistently across compilers
Update our values for
CMAKE_<LANG>_COMPILE_OBJECT,
CMAKE_<LANG>_CREATE_ASSEMBLY_SOURCE, and
CMAKE_<LANG>_CREATE_PREPROCESSED_SOURCE
to place <DEFINES> before <FLAGS> consistently across supported
compilers. We already do this for most compilers, so update the rest
for consistency.
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 6bb2636..27bb416 100644 --- a/Modules/CMakeRCInformation.cmake +++ b/Modules/CMakeRCInformation.cmake @@ -44,7 +44,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> <DEFINES> /fo<OBJECT> <SOURCE>") + "<CMAKE_RC_COMPILER> <DEFINES> <FLAGS> /fo<OBJECT> <SOURCE>") endif() mark_as_advanced( |