Commit 19c3a593 authored by COULAUD Olivier's avatar COULAUD Olivier

Remove test to force Intel ICL compiler on MacOS X

parent d377e572
......@@ -365,19 +365,6 @@ if (MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_SOURCE_DIR}/CMakeModules/morse/")
if(CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
execute_process(COMMAND ${CMAKE_CXX_COMPILER} -dumpversion OUTPUT_VARIABLE INTEL_VERSION)
message( STATUS "Intel: ${INTEL_VERSION}")
if(APPLE)
string(FIND ${CMAKE_CXX_COMPILER} "icl++" NAME)
if( ${NAME} GREATER 0)
if( ${INTEL_VERSION} EQUAL 15. OR ${INTEL_VERSION} GREATER 15.0.0)
message( STATUS " Intel compiler is icl++ ( version >= 15.0.0)")
set(INTEL_ICL_COMPILER "ON")
else()
message(FATAL_ERROR " Intel compiler should be icl++ ( version >= 15.0.0)")
endif()
else()
message(FATAL_ERROR " Intel compiler should be icl++ ( version >= 15.0.0)")
endif()
endif()
endif()
#
##################################################################
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment