Permalink
Browse files

Add Intel Compiler support to CMake config.

  • Loading branch information...
1 parent 0f20ddc commit 2b58c9bc42ecb720366ceb5513105a3491f9e0a2 @jbreitbart jbreitbart committed with Dec 3, 2016
Showing with 4 additions and 2 deletions.
  1. +4 −2 CMakeLists.txt
View
@@ -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

0 comments on commit 2b58c9b

Please sign in to comment.