diff options
author | Brad King <brad.king@kitware.com> | 2008-02-27 19:31:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-02-27 19:31:09 (GMT) |
commit | e840a9dff31ef7682e698f78edc5c9e06f79834c (patch) | |
tree | 66b95ef2f75a74974eedc0664d1f2efcc9579a3a /Modules/Platform/SunOS.cmake | |
parent | 883931056f8b8d11dfdb2fb9f91197b67695ace7 (diff) | |
download | CMake-e840a9dff31ef7682e698f78edc5c9e06f79834c.zip CMake-e840a9dff31ef7682e698f78edc5c9e06f79834c.tar.gz CMake-e840a9dff31ef7682e698f78edc5c9e06f79834c.tar.bz2 |
BUG: Apply patch from bug#6445. Add preprocessor definitions to assembly and preprocessing build rules.
Diffstat (limited to 'Modules/Platform/SunOS.cmake')
-rw-r--r-- | Modules/Platform/SunOS.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/Platform/SunOS.cmake b/Modules/Platform/SunOS.cmake index 9bd8b09..f6fdf77 100644 --- a/Modules/Platform/SunOS.cmake +++ b/Modules/Platform/SunOS.cmake @@ -63,12 +63,12 @@ ENDIF(CMAKE_COMPILER_IS_GNUCXX) INCLUDE(Platform/UnixPaths) IF(NOT CMAKE_COMPILER_IS_GNUCC) - SET (CMAKE_C_CREATE_PREPROCESSED_SOURCE "<CMAKE_C_COMPILER> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>") - SET (CMAKE_C_CREATE_ASSEMBLY_SOURCE "<CMAKE_C_COMPILER> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>") + SET (CMAKE_C_CREATE_PREPROCESSED_SOURCE "<CMAKE_C_COMPILER> <DEFINES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>") + SET (CMAKE_C_CREATE_ASSEMBLY_SOURCE "<CMAKE_C_COMPILER> <DEFINES> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>") ENDIF(NOT CMAKE_COMPILER_IS_GNUCC) IF(NOT CMAKE_COMPILER_IS_GNUCXX) - SET (CMAKE_CXX_CREATE_PREPROCESSED_SOURCE "<CMAKE_CXX_COMPILER> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>") + SET (CMAKE_CXX_CREATE_PREPROCESSED_SOURCE "<CMAKE_CXX_COMPILER> <DEFINES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>") SET (CMAKE_CXX_CREATE_ASSEMBLY_SOURCE "<CMAKE_CXX_COMPILER> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>") ENDIF(NOT CMAKE_COMPILER_IS_GNUCXX) |