diff options
author | click <none@none> | 2010-10-21 22:00:12 +0200 |
---|---|---|
committer | click <none@none> | 2010-10-21 22:00:12 +0200 |
commit | ea847598d0514cf6107583da983fb3c273703902 (patch) | |
tree | 61b0a6e04fd894a66bdcb10c9365ec212d8799b0 /cmake/platform/unix/settings.cmake | |
parent | 03c6c34a4b0899a01deb4cfc4654bd652b322d13 (diff) |
Buildsystem: Add initial support for Intel C++ Compiler (patch by Leak)
Note: Intel C++ Compiler for Windows is not supported in this change
Closes issue 4361
--HG--
branch : trunk
Diffstat (limited to 'cmake/platform/unix/settings.cmake')
-rw-r--r-- | cmake/platform/unix/settings.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cmake/platform/unix/settings.cmake b/cmake/platform/unix/settings.cmake index e53e680a566..27c370c740e 100644 --- a/cmake/platform/unix/settings.cmake +++ b/cmake/platform/unix/settings.cmake @@ -24,4 +24,8 @@ add_custom_target(uninstall ) message(STATUS "UNIX: Created uninstall target") -include(${CMAKE_SOURCE_DIR}/cmake/compiler/gcc/settings.cmake) +if(CMAKE_C_COMPILER MATCHES "gcc") + include(${CMAKE_SOURCE_DIR}/cmake/compiler/gcc/settings.cmake) +elseif(CMAKE_C_COMPILER MATCHES "icc") + include(${CMAKE_SOURCE_DIR}/cmake/compiler/icc/settings.cmake) +endif() |