From 4729ceae5d49d9bfee06115121a32c21e69329be Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Mon, 14 Oct 2013 13:12:28 +0000 Subject: [PATCH] Workaround an issue with bundled tbb and clang in C++11 mode git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31226 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/bundled/tbb41_20130401oss/src/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/deal.II/bundled/tbb41_20130401oss/src/CMakeLists.txt b/deal.II/bundled/tbb41_20130401oss/src/CMakeLists.txt index 1551dc14de..96711a27e0 100644 --- a/deal.II/bundled/tbb41_20130401oss/src/CMakeLists.txt +++ b/deal.II/bundled/tbb41_20130401oss/src/CMakeLists.txt @@ -119,3 +119,9 @@ ELSE() ENDIF() ENDIF() +# +# Workaround for clang to compile in C++11 mode: +# +IF(CMAKE_CXX_COMPILER_ID MATCHES "Clang") + DEAL_II_ADD_DEFINITIONS(obj_tbb "TBB_IMPLEMENT_CPP0X=1") +ENDIF() -- 2.39.5