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/Linux-PGI-C.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/Linux-PGI-C.cmake')
-rw-r--r-- | Modules/Platform/Linux-PGI-C.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Platform/Linux-PGI-C.cmake b/Modules/Platform/Linux-PGI-C.cmake index 104e3dc..df3c38e 100644 --- a/Modules/Platform/Linux-PGI-C.cmake +++ b/Modules/Platform/Linux-PGI-C.cmake @@ -1,5 +1,5 @@ SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") -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>") |