mirror of https://github.com/CGAL/cgal
Merge pull request #4710 from danston/CGAL-clangmp_bug_fix-danston
boost mp on Apple clang issue fix # Conflicts: # Installation/cmake/modules/CGAL_SetupCGALDependencies.cmake
This commit is contained in:
commit
8db4503904
|
|
@ -136,6 +136,12 @@ function(CGAL_setup_CGAL_dependencies target)
|
|||
$<$<COMPILE_LANGUAGE:CXX>:/bigobj> # Use /bigobj by default
|
||||
)
|
||||
endif()
|
||||
elseif ("${CMAKE_CXX_COMPILER_ID}" MATCHES "AppleClang")
|
||||
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 11.0.3)
|
||||
message(STATUS "Apple Clang version ${CMAKE_CXX_COMPILER_VERSION} compiler detected")
|
||||
message(STATUS "Boost MP is turned off for all Apple Clang versions below 11.0.3!")
|
||||
target_compile_options(${target} ${keyword} "-DCGAL_DO_NOT_USE_BOOST_MP")
|
||||
endif()
|
||||
elseif(CMAKE_CXX_COMPILER_ID MATCHES "Intel")
|
||||
message( STATUS "Using Intel Compiler. Adding -fp-model strict" )
|
||||
if(WIN32)
|
||||
|
|
|
|||
Loading…
Reference in New Issue