summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/Intel-CXX.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2009-09-19 08:33:10 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2009-09-19 08:33:10 (GMT)
commit196d9a54aa7083c2d063147ac431c7efd11f393d (patch)
tree86cb0b0439747fc2df17cde6ac2b20f4a329ac06 /Modules/Compiler/Intel-CXX.cmake
parent5ea5ca3c88877bac0c2222141ca4d36fb322ee77 (diff)
downloadCMake-196d9a54aa7083c2d063147ac431c7efd11f393d.zip
CMake-196d9a54aa7083c2d063147ac431c7efd11f393d.tar.gz
CMake-196d9a54aa7083c2d063147ac431c7efd11f393d.tar.bz2
The preprocessing and assembly rules also need the <DEFINES>, otherwise different reults are created.
Alex
Diffstat (limited to 'Modules/Compiler/Intel-CXX.cmake')
-rw-r--r--Modules/Compiler/Intel-CXX.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Compiler/Intel-CXX.cmake b/Modules/Compiler/Intel-CXX.cmake
index 56950f0..ff01a81 100644
--- a/Modules/Compiler/Intel-CXX.cmake
+++ b/Modules/Compiler/Intel-CXX.cmake
@@ -6,5 +6,5 @@ SET(CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG")
SET(CMAKE_CXX_FLAGS_RELEASE_INIT "-O3 -DNDEBUG")
SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-O2 -g")
-SET(CMAKE_CXX_CREATE_PREPROCESSED_SOURCE "<CMAKE_CXX_COMPILER> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
-SET(CMAKE_CXX_CREATE_ASSEMBLY_SOURCE "<CMAKE_CXX_COMPILER> <FLAGS> -S <SOURCE> -o <ASSEMBLY_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> <DEFINES> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>")