Skip to content
Snippets Groups Projects
Commit 6e91cbcc authored by Ben Boeckel's avatar Ben Boeckel
Browse files

testing: simplify Intel compiler ID check

parent f53b8a1a
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${VTK_REQUIRED_SHARE
set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${VTK_REQUIRED_MODULE_LINKER_FLAGS}")
# This is a cross-platform project so we cannot use the MS _s API.
if(WIN32 AND "${CMAKE_C_COMPILER_ID}" MATCHES "^(Intel)$")
if(WIN32 AND "x${CMAKE_C_COMPILER_ID}" STREQUAL "xIntel")
set(_INTEL_WINDOWS 1)
endif()
if(MSVC OR _INTEL_WINDOWS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment