summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Linux-Intel-CXX.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-12-04 14:20:24 (GMT)
committerBrad King <brad.king@kitware.com>2009-12-04 14:20:24 (GMT)
commite2083979767f08e0644030c890cd7de971bbd77a (patch)
treeec6bb895c5e9e112f114950ff1fecc004e7eeec4 /Modules/Platform/Linux-Intel-CXX.cmake
parent77ded39645ac09a190fe058bf796978bfe2327ba (diff)
downloadCMake-e2083979767f08e0644030c890cd7de971bbd77a.zip
CMake-e2083979767f08e0644030c890cd7de971bbd77a.tar.gz
CMake-e2083979767f08e0644030c890cd7de971bbd77a.tar.bz2
Consolidate Linux Intel compiler information
We consolidate duplicate code from Platform/Linux-Intel-<lang>.cmake files into a macro defined in Platform/Linux-Intel.cmake.
Diffstat (limited to 'Modules/Platform/Linux-Intel-CXX.cmake')
-rw-r--r--Modules/Platform/Linux-Intel-CXX.cmake8
1 files changed, 1 insertions, 7 deletions
diff --git a/Modules/Platform/Linux-Intel-CXX.cmake b/Modules/Platform/Linux-Intel-CXX.cmake
index cedb196..0b7daf4 100644
--- a/Modules/Platform/Linux-Intel-CXX.cmake
+++ b/Modules/Platform/Linux-Intel-CXX.cmake
@@ -1,8 +1,2 @@
INCLUDE(Platform/Linux-Intel)
-IF(XIAR)
- # INTERPROCEDURAL_OPTIMIZATION
- SET(CMAKE_CXX_COMPILE_OPTIONS_IPO -ipo)
- SET(CMAKE_CXX_CREATE_STATIC_LIBRARY_IPO
- "${XIAR} cr <TARGET> <LINK_FLAGS> <OBJECTS> "
- "${XIAR} -s <TARGET> ")
-ENDIF(XIAR)
+__linux_compiler_intel(CXX)