Add Intel Compiler support to CMake config.

This commit is contained in:
Jens Breitbart 2016-12-03 16:59:39 +01:00 committed by Jesse Beder
parent 0f20ddcdcb
commit 2b58c9bc42

View File

@ -152,9 +152,11 @@ if(WIN32)
endif() endif()
endif() endif()
# GCC or Clang specialities # GCC or Clang or Intel Compiler specialities
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR if(CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR
CMAKE_CXX_COMPILER_ID MATCHES "Clang") CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR
CMAKE_CXX_COMPILER_ID MATCHES "Intel")
### General stuff ### General stuff
if(WIN32) if(WIN32)
set(CMAKE_SHARED_LIBRARY_PREFIX "") # DLLs do not have a "lib" prefix set(CMAKE_SHARED_LIBRARY_PREFIX "") # DLLs do not have a "lib" prefix