mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 12:41:17 +00:00
Add Intel Compiler support to CMake config.
This commit is contained in:

committed by
Jesse Beder

parent
0f20ddcdcb
commit
2b58c9bc42
@@ -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
|
||||
|
Reference in New Issue
Block a user