From fc13a42db5beaa86cc9fa66facc093b71d40f2ed Mon Sep 17 00:00:00 2001 From: Dmitry Anisimov Date: Fri, 8 May 2020 11:41:34 +0200 Subject: [PATCH] added a comment and info message --- Installation/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Installation/CMakeLists.txt b/Installation/CMakeLists.txt index 25a1e6b06b9..aaa999c0753 100644 --- a/Installation/CMakeLists.txt +++ b/Installation/CMakeLists.txt @@ -495,9 +495,11 @@ if( "${CMAKE_CXX_COMPILER}" MATCHES "icl" OR "${CMAKE_CXX_COMPILER}" MATCHES "ic endif() endif() +# This fixes the issue #3816 - https://github.com/CGAL/cgal/issues/3816. if ("${CMAKE_CXX_COMPILER}" MATCHES "xctoolchain") message(STATUS "Clang compiler is detected.") if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 11.0.3) + message(STATUS "Boost mp is turned off for all clang versions below 11.0.3!") uniquely_add_flags(CMAKE_CXX_FLAGS "-DCGAL_DO_NOT_USE_BOOST_MP") endif() endif()