From 2b58c9bc42ecb720366ceb5513105a3491f9e0a2 Mon Sep 17 00:00:00 2001 From: Jens Breitbart Date: Sat, 3 Dec 2016 16:59:39 +0100 Subject: [PATCH] Add Intel Compiler support to CMake config. --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2442edd..a082038 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -152,9 +152,11 @@ if(WIN32) endif() endif() -# GCC or Clang specialities +# GCC or Clang or Intel Compiler specialities 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 if(WIN32) set(CMAKE_SHARED_LIBRARY_PREFIX "") # DLLs do not have a "lib" prefix