mirror of https://github.com/CGAL/cgal
Tweak for Intel on Windows.
This commit is contained in:
parent
5604fef79f
commit
bfc2b1be9a
|
|
@ -166,9 +166,13 @@ if( "${CMAKE_CXX_COMPILER}" MATCHES "icl" OR "${CMAKE_CXX_COMPILER}" MATCHES "ic
|
|||
message("Intel Compiler version ${IntelCompiler_VERSION} is not supported by CGAL-${CGAL_MAJOR_VERSION}.${CGAL_MINOR_VERSION}! (too old)")
|
||||
else()
|
||||
message( STATUS "Using Intel Compiler version 11 or later. Adding -fp-model strict" )
|
||||
if(WIN32)
|
||||
uniquely_add_flags( CGAL_CXX_FLAGS "/fp:strict" )
|
||||
else()
|
||||
uniquely_add_flags( CGAL_CXX_FLAGS "-fp-model strict" )
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
if ( CMAKE_COMPILER_IS_GNUCXX )
|
||||
|
|
|
|||
Loading…
Reference in New Issue